tools:
  - name: list_connections
    description: List all available active connections in the user's Pica account
    inputSchema:
      type: object
      required: []
      properties: {}
  - name: get_available_actions
    description: Get available actions for a specific platform
    inputSchema:
      type: object
      required:
        - platform
      properties:
        platform:
          type: string
          description: Platform name
  - name: get_action_knowledge
    description: Get detailed information about a specific action
    inputSchema:
      type: object
      required:
        - actionId
      properties:
        actionId:
          type: string
          description: ID of the action
  - name: execute_action
    description: Prepare to execute a specific action (requires confirmation)
    inputSchema:
      type: object
      required:
        - actionId
        - connectionKey
        - method
        - path
      properties:
        data:
          type: object
          description: Request data (for POST, PUT, etc.)
        path:
          type: string
          description: API path
        method:
          type: string
          description: HTTP method (GET, POST, PUT, DELETE, etc.)
        headers:
          type: object
          description: Additional headers
        actionId:
          type: string
          description: ID of the action to execute
        isFormData:
          type: boolean
          description: Whether to send data as multipart/form-data
        queryParams:
          type: object
          description: Query parameters
        connectionKey:
          type: string
          description: Key of the connection to use
        pathVariables:
          type: object
          description: Variables to replace in the path
        isFormUrlEncoded:
          type: boolean
          description: Whether to send data as application/x-www-form-urlencoded
