> ## Documentation Index
> Fetch the complete documentation index at: /dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Call a tool

> Run one tool on your own memory.



## OpenAPI

````yaml POST /platform/v1/me/tools/{name}
openapi: 3.1.0
info:
  title: Constella API
  version: v1
  description: Cloud memory for your own AI tools and for apps with many users.
servers:
  - url: https://api.constella.app
security: []
tags:
  - name: Your memory
  - name: Your app's users
  - name: Connected apps
paths:
  /platform/v1/me/tools/{name}:
    post:
      tags:
        - Your memory
      summary: Call My Tool
      description: Call one tool for the person's own account.
      operationId: call_my_tool_platform_v1_me_tools__name__post
      parameters:
        - name: name
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 64
            title: Name
            example: memory_add
          description: The tool to call, for example memory_add. See the Tools pages.
        - name: x-constella-client
          in: header
          required: false
          schema:
            type: string
            default: ''
            title: X-Constella-Client
            example: my-script
          description: >-
            Names your program, for the folder your memories land in:
            claude-code, codex, chatgpt and claude get their own; any other name
            goes to Agents.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CallIn'
            examples:
              save:
                summary: Save a memory (memory_add)
                value:
                  arguments:
                    text: We ship on Fridays.
                    id: team:ship-day
              recall:
                summary: Recall (memory_recall)
                value:
                  arguments:
                    query: when do we ship?
                    limit: 5
              approved:
                summary: A tool that asks first, after the person said yes (notes_add)
                value:
                  arguments:
                    title: Ship day
                    content: We ship on Fridays.
                  approved: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Call My Tool Platform V1 Me Tools  Name  Post
        '401':
          description: The key is wrong, revoked or replaced (`bad_key`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: This key may not do this (`not_allowed`, `missing_scope`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such tool, user or item.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: >-
            This tool asks the person first (`needs_approval`). Ask them, then
            send the same call with "approved": true.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          description: Too many requests (`rate_limited`). Wait and try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - personKey: []
components:
  schemas:
    CallIn:
      properties:
        arguments:
          additionalProperties: true
          type: object
          title: Arguments
        approved:
          type: boolean
          title: Approved
          default: false
      type: object
      title: CallIn
    Error:
      type: object
      properties:
        detail:
          type: object
          properties:
            code:
              type: string
              example: bad_key
            message:
              type: string
              example: This key is wrong, revoked or replaced.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    personKey:
      type: http
      scheme: bearer
      description: Your own key (csk_...) from the Dev Console, or a sign-in (cot_...).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.