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

# Read one tool call in full

> Returns everything one tool call took and returned, with secret values masked. The event's `tool_calls` shows each call's first and last lines; read this for the rest. Use the `call_id` the event gives, percent-encoded. Arguments and output are each at most 65536 bytes, and `truncated_arguments` and `truncated` say when the runner cut one to fit. A call whose full output was not kept answers 404, as an unknown call and a call in another workspace do. 



## OpenAPI

````yaml https://raw.githubusercontent.com/agentsfleet/agentsfleet/main/public/openapi.json get /v1/workspaces/{workspace_id}/fleets/{fleet_id}/events/{event_id}/tool-calls/{call_id}
openapi: 3.1.0
info:
  title: agentsfleet Control Plane API
  description: API for managing workspaces, fleets, triggers, and runs.
  contact:
    name: agentsfleet
    url: https://agentsfleet.net
  license:
    name: MIT
    identifier: MIT
  version: 1.0.0
servers:
  - url: https://api.agentsfleet.net
    description: Production
security: []
paths:
  /v1/workspaces/{workspace_id}/fleets/{fleet_id}/events/{event_id}/tool-calls/{call_id}:
    get:
      tags:
        - Fleets
      summary: Read one tool call in full
      description: >-
        Returns everything one tool call took and returned, with secret values
        masked. The event's `tool_calls` shows each call's first and last lines;
        read this for the rest. Use the `call_id` the event gives,
        percent-encoded. Arguments and output are each at most 65536 bytes, and
        `truncated_arguments` and `truncated` say when the runner cut one to
        fit. A call whose full output was not kept answers 404, as an unknown
        call and a call in another workspace do. 
      operationId: get_fleet_event_tool_call
      parameters:
        - name: workspace_id
          in: path
          description: '`UUIDv7` of the workspace.'
          required: true
          schema:
            type: string
        - name: fleet_id
          in: path
          description: '`UUIDv7` of the fleet.'
          required: true
          schema:
            type: string
        - name: event_id
          in: path
          description: '`UUIDv7` of the event.'
          required: true
          schema:
            type: string
        - name: call_id
          in: path
          description: |-
            The call, as the thread names it: `{fence}:{n}`. Opaque; send it as
            the thread gave it, percent-encoded.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolCallDetail'
        '400':
          description: The request could not be read
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '401':
          description: No credential, or one this route does not accept
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '403':
          description: The credential is good and lacks the capability this route requires
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '404':
          description: No such resource, or none this caller may see
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '429':
          description: The instance is at its ceiling
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '500':
          description: The daemon failed to answer
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
        '503':
          description: A dependency this route needs is unreachable
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemBody'
      security:
        - BearerAuth: []
components:
  schemas:
    ToolCallDetail:
      type: object
      description: '`GET …/events/{event_id}/tool-calls/{call_id}` reply: one call, in full.'
      required:
        - call_id
        - arguments
        - truncated_arguments
        - output
        - output_line_count
        - truncated
      properties:
        arguments:
          type: object
          description: >-
            Every argument the call was made with, secret values masked. Beta:
            this field may change shape before it is stable.
          x-stability: beta
        call_id:
          type: string
          description: >-
            The call, as the thread names it: `{fence}:{n}`. Beta: this field
            may change shape before it is stable.
          x-stability: beta
        output:
          type: string
          description: >-
            Everything the call returned. Beta: this field may change shape
            before it is stable.
          x-stability: beta
        output_line_count:
          type: integer
          format: int64
          description: >-
            How many lines the whole output had, before any cut. Beta: this
            field may change shape before it is stable.
          minimum: 0
          x-stability: beta
        truncated:
          type: boolean
          description: >-
            Whether the output was cut to fit 65536 bytes. Beta: this field may
            change shape before it is stable.
          x-stability: beta
        truncated_arguments:
          type: boolean
          description: >-
            Whether the arguments were cut to fit 65536 bytes. Beta: this field
            may change shape before it is stable.
          x-stability: beta
      additionalProperties: false
    ProblemBody:
      type: object
      description: The body every refusal carries, under `application/problem+json`.
      required:
        - docs_uri
        - title
        - detail
        - error_code
        - request_id
      properties:
        action_id:
          type:
            - string
            - 'null'
          description: 'On that 409 only: the action the gate held.'
        current_state:
          type:
            - string
            - 'null'
          description: 'On a 409 only: the state that forbade the transition.'
        detail:
          type: string
          description: One sentence on what was refused and why.
        docs_uri:
          type: string
          description: Where the error code is documented.
        error_code:
          type: string
          description: The registry code, stable across releases.
        etag:
          type:
            - string
            - 'null'
          description: >-
            On a 412 only: the resource's current entity tag, to refetch and
            retry.
        gate_id:
          type:
            - string
            - 'null'
          description: 'On an answered approval gate''s 409 only: the gate that was answered.'
        outcome:
          type:
            - string
            - 'null'
          description: 'On that 409 only: the answer that stands.'
        request_id:
          type: string
          description: The request this refusal answers, for support.
        resolved_at:
          type:
            - integer
            - 'null'
          format: int64
          description: 'On that 409 only: when the standing answer was given.'
        resolved_by:
          type:
            - string
            - 'null'
          description: 'On that 409 only: who gave it.'
        title:
          type: string
          description: A short name for the refusal, safe to show a person.
        user_message:
          type:
            - string
            - 'null'
          description: A curated sentence for end users, where the code has one.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub
        OAuth

````

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