custom-action-cards

Generate Custom Action Card Contract

Generate tool contract (name/description/schema/ui prompt) from intent.

post/custom-action-cards/generate-contract

Request

  • Base URL
    https://dev.whispa.net (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Password
      Token URL: auth/bearer/login
    • or API key in cookie access_token

Request body

intent_promptstring required

Natural-language description of what the action card should do

current_namestring nullable

Existing tool name to preserve when regenerating

categorystring nullable

Preferred category hint

Response

Successful Response

namestring required
display_namestring required
descriptionstring required
categorystring nullable
input_schemaobject

JSON schema used as LLM function parameters

ui_promptstring required

Prompt describing desired UI style and behavior

Changes

No recorded changes to this operation across all 1 revision of this API.