Requires tools:read. Workflow-owned tools return safe current/candidate schemas and durable change/promotion status. URL queries, userinfo, fragments and header values remain private. GET does not execute actions or start another change. An archived workflow tool answers its short form - id, name, description, workflow_version, is_active false, created_at, updated_at, archived true, archived_at and workflow.kind - so a lost tool can be found and restored with POST /tools//restore.
Requires tools:read. Workflow-owned tools return workflow_version: "workflow_v1" with a safe workflow.current revision, optional candidate, head_revision_id, head_generation, durable status, and error_code.
An archived tool
A tool archived with DELETE /tools/{id} is still this workspace’s, and is read in a short form: id, name, description, workflow_version, is_active: false, created_at, updated_at, archived: true, archived_at and workflow.kind. Its revisions are not read while it is archived. Put it back with POST /tools/{id}/restore, which answers the whole tool; GET /tools?workflow=true&status=archived lists every archived tool.
A tool an integration runs
When a connected account is given to an agent (POST /agents/{id}/integrations), each of its actions runs through one tool made for that account and action, shared by every agent the account is given to. Reading one answers the usual tool plus integration, naming the account and the action:
The tool belongs to the integration: PATCH /tools/{id} answers 409 INTEGRATION_ACTION_MANAGED, DELETE /tools/{id} does too while an agent still uses it, and GET /tools leaves it out. Every other tool has no integration member.
A tool whose creation failed
A create that never built has no revision: workflow.status is failed (or
accepted/claimed while it is still being built), workflow.current is
null and there is no head_revision_id. Its workflow.error_code says why,
workflow.requested says what it asked for, so it can be sent again, and
created_at is when it was first asked for (a retry does not move it), which
tells same-named failed creations apart:
url_display is the address without its query, fragment or user:password;
url_redacted is true when one of those was taken off, so send the full
address again. Header values are never echoed: send each name in
configured_header_names with its value again. Fix it with
PATCH /tools/{id}
or remove it with DELETE /tools/{id}.
The two names for the same token
The tokens that say which revision you read are named one way here and another
way on the way back in. They are the same two values; copy them across:
expected_head_revision_id (top level, not under workflow)
workflow.head_generation
expected_head_generation (top level, not under workflow)
Both are required on an update and refused on a create, where there is no head
to compare against. A stale pair answers 409: reload, review, and submit a new
change rather than retrying the same body.Use this endpoint to poll accepted materialization or queued promotion. Reading does not execute actions or create a new revision. An archived tool answers its short form (see An archived tool); a tool from another workspace, or one that does not exist, returns 404.HTTP configuration returns url_display, redaction metadata, method, and configured header names, never private URL query/userinfo/fragment or header values. App configuration returns local account and metadata IDs, labeled-account readiness, a dated version, fixed values, and public schemas—not the connected-app service’s own project, configuration or account identifiers. Use omitted URL/header fields when retaining private values on update.
url_replacement_required is always true
An HTTP tool’s configuration comes back as a display projection, never as
something you can send back:
url_display is scheme, host and path only, and it is readable: any
key with tools:read, and anyone who can open the tool in the dashboard, sees
the address the tool calls. Any query string, fragment and userinfo is
stripped before the value ever leaves the platform — the query is the private
part, not the address.
url_redacted says whether anything was stripped — true means the
saved URL carries a query string you cannot see here.
configured_query_names / configured_header_names name what is
configured, never the values.
empty_header_names / empty_query_names appear only when something is
empty: a header saved with no value, a query parameter written name= with
nothing after it. A tool that a Duplicate with fork_tools
made for the copy starts that way, because values are never copied. Send the
values with PATCH /tools/{id} (the whole URL,
for a query part); until then the tool sends them empty, and a workflow check
names the tool in a tool_values_missing warning.
url_replacement_required is the constant true, on every read, for
every HTTP tool. It is not a per-tool flag and it never turns off.
It reads as a constant because it states a rule rather than a condition: since
the projection is lossy, a revision that changes the URL must send the whole
URL again, including the query string. Round-tripping url_display back into
Add a tool contract revision would
quietly drop the part you could not see. To keep the saved URL and its query
exactly as they are, omit the URL field from the revision instead — the same
rule the configured headers follow.
A legacy tool’s headers come back the same way
A tool that predates workflow ownership answers with type and config
instead of workflow, and its request headers follow the same rule:
config.headers is not in the answer — not here, not in
List tools, not in the tools embedded in
Get agent, and not in the object
POST/PATCH /tools echoes back. configured_header_names names what is
stored, sorted, and nothing more. Keeping a header you cannot read means
sending null under its exact name, or leaving headers out of the change
altogether — see Update tool.
Authorizations
Authorization
string
header
required
Your Yappr API key (e.g. ypr_live_...). Generate one in the dashboard under Settings → API Keys. No key is 401 MISSING_KEY; a key that is not one of ours, or is revoked, is 401 INVALID_KEY; an expired one is 401 EXPIRED_KEY. A valid key without the scope an operation needs is 403 INSUFFICIENT_SCOPE on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's RATE_LIMIT asks for what is left of the minute, a route's daily cap (RATE_LIMITED) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is 404 ROUTE_NOT_FOUND, and a method a served path does not take is 405 METHOD_NOT_ALLOWED with an Allow header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (POST /calls/ is POST /calls) and refused where it can (GET /calls/). A doubled slash inside a path is merged into one before the request reaches the API (GET //calls is GET /calls).
Path Parameters
id
string<uuid>
required
Response
Tool details
Option 1
Option 2
Temporary legacy webhook/function migration boundary. New tools use the workflow variant.
id
string<uuid>
required
type
enum<string>
required
Available options:
webhook,
function
name
string
Normalized to camelCase (e.g. 'capture_lead' → 'captureLead')
description
string | null
config
object
Webhook configuration. Request header values are never returned: a read omits config.headers entirely and reports the names in config.configured_header_names. Writes are per header, the same rule a workflow tool follows — omitting headers keeps every stored header, an explicit empty object clears them all, a string sets one, null keeps the value already stored under that exact name, and a stored name you leave out of a headers you did send is removed. On POST /tools nothing is stored yet, so null is refused with 400.
A legacy transfer tool (made in the dashboard) carries destination, announce_transfer and announce_message, and may carry transfer_method, pbx_feature_code and pbx_feature_code_hangup_after_secs: the same keys, values and rules as on a flow's TransferNode, with destination in place of transfer_to.
Show child attributes
is_active
boolean
created_at
string<date-time>
updated_at
string<date-time>
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Yappr","colors":{"primary":"#6366f1","light":"#818cf8","dark":"#4f46e5"},"favicon":"https://mintcdn.com/yappr/E1AQ46GZ-5iPcyPp/favicon.svg?fit=max\u0026auto=format\u0026n=E1AQ46GZ-5iPcyPp\u0026q=85\u0026s=a8c28fe51e78b8e4701c773698ba2378","logo":{"light":"https://mintcdn.com/yappr/E1AQ46GZ-5iPcyPp/logo/light.svg?fit=max\u0026auto=format\u0026n=E1AQ46GZ-5iPcyPp\u0026q=85\u0026s=a117ff3aa08c2017e8d58b0da5be882f","dark":"https://mintcdn.com/yappr/E1AQ46GZ-5iPcyPp/logo/dark.svg?fit=max\u0026auto=format\u0026n=E1AQ46GZ-5iPcyPp\u0026q=85\u0026s=613f48501928d9122f97fb91bfcf9b87"},"api":{"openapi":"openapi.yaml"},"footer":{"socials":{"website":"https://goyappr.com"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"yappr","hasAudioNarration":false,"actualSubdomain":"yappr","customDomains":["docs.goyappr.com"],"gitSource":{"type":"github","owner":"simon-isf","repo":"hebrew-voice-ai","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b097bda241cbb20e7401d81","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"API Reference","count":210},{"language":"default","tag":"Tools \u0026 integrations","count":35},{"language":"default","tag":"Agent Eval","count":24},{"language":"default","tag":"Agents","count":20},{"language":"default","tag":"Tools","count":19},{"language":"default","tag":"Connected accounts","count":16},{"language":"default","tag":"Campaigns","count":15},{"language":"default","tag":"Carrier accounts","count":14},{"language":"default","tag":"Workflows","count":12},{"language":"default","tag":"Billing","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/tools/get","slug":"/api-reference/tools/get","pageMetadata":{"title":"Get Tool","openapi":"GET /tools/{id}","description":"Requires tools:read. Workflow-owned tools return safe current/candidate schemas and durable change/promotion status. URL queries, userinfo, fragments and header values remain private. GET does not execute actions or start another change. An archived workflow tool answers its short form - id, name, description, workflow_version, is_active false, created_at, updated_at, archived true, archived_at and workflow.kind - so a lost tool can be found and restored with POST /tools/{id}/restore.","href":"/api-reference/tools/get"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Requires tools:read. Workflow-owned tools return safe current/candidate schemas and durable change/promotion status. URL queries, userinfo, fragments and header values remain private. GET does not execute actions or start another change. An archived workflow tool answers its short form - id, name, description, workflow_version, is_active false, created_at, updated_at, archived true, archived_at and workflow.kind - so a lost tool can be found and restored with POST /tools/\", \"/restore.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Requires `,_jsx(_components.code,{children:`tools:read`}),`. Workflow-owned tools return `,_jsx(_components.code,{children:`workflow_version: \"workflow_v1\"`}),` with a safe `,_jsx(_components.code,{children:`workflow.current`}),` revision, optional `,_jsx(_components.code,{children:`candidate`}),`, `,_jsx(_components.code,{children:`head_revision_id`}),`, `,_jsx(_components.code,{children:`head_generation`}),`, durable `,_jsx(_components.code,{children:`status`}),`, and `,_jsx(_components.code,{children:`error_code`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`an-archived-tool`,children:`An archived tool`}),`\n`,_jsxs(_components.p,{children:[`A tool archived with `,_jsx(_components.a,{href:`/api-reference/tools/delete`,children:_jsx(_components.code,{children:`DELETE /tools/{id}`})}),` is still this workspace’s, and is read in a short form: `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`description`}),`, `,_jsx(_components.code,{children:`workflow_version`}),`, `,_jsx(_components.code,{children:`is_active: false`}),`, `,_jsx(_components.code,{children:`created_at`}),`, `,_jsx(_components.code,{children:`updated_at`}),`, `,_jsx(_components.code,{children:`archived: true`}),`, `,_jsx(_components.code,{children:`archived_at`}),` and `,_jsx(_components.code,{children:`workflow.kind`}),`. Its revisions are not read while it is archived. Put it back with `,_jsx(_components.a,{href:`/api-reference/tools/restore`,children:_jsx(_components.code,{children:`POST /tools/{id}/restore`})}),`, which answers the whole tool; `,_jsx(_components.code,{children:`GET /tools?workflow=true\u0026status=archived`}),` lists every archived tool.`]}),`\n`,_jsx(Heading,{level:`3`,id:`a-tool-an-integration-runs`,children:`A tool an integration runs`}),`\n`,_jsxs(_components.p,{children:[`When a connected account is given to an agent (`,_jsx(_components.a,{href:`/api-reference/agents/integrations-add`,children:_jsx(_components.code,{children:`POST /agents/{id}/integrations`})}),`), each of its actions runs through one tool made for that account and action, shared by every agent the account is given to. Reading one answers the usual tool plus `,_jsx(_components.code,{children:`integration`}),`, naming the account and the action:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"77777777-7777-7777-7777-777777777777\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Find free time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workflow_version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"workflow_v1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"integration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"connection_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"66666666-6666-6666-6666-666666666666\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GOOGLECALENDAR_FIND_FREE_SLOTS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workflow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"app\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"current\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The tool belongs to the integration: `,_jsx(_components.a,{href:`/api-reference/tools/update#a-tool-an-integration-runs`,children:_jsx(_components.code,{children:`PATCH /tools/{id}`})}),` answers `,_jsx(_components.code,{children:`409 INTEGRATION_ACTION_MANAGED`}),`, `,_jsx(_components.a,{href:`/api-reference/tools/delete#a-tool-an-integration-runs`,children:_jsx(_components.code,{children:`DELETE /tools/{id}`})}),` does too while an agent still uses it, and `,_jsx(_components.a,{href:`/api-reference/tools/list`,children:_jsx(_components.code,{children:`GET /tools`})}),` leaves it out. Every other tool has no `,_jsx(_components.code,{children:`integration`}),` member.`]}),`\n`,_jsx(Heading,{level:`3`,id:`a-tool-whose-creation-failed`,children:`A tool whose creation failed`}),`\n`,_jsxs(_components.p,{children:[`A create that never built has no revision: `,_jsx(_components.code,{children:`workflow.status`}),` is `,_jsx(_components.code,{children:`failed`}),` (or\n`,_jsx(_components.code,{children:`accepted`}),`/`,_jsx(_components.code,{children:`claimed`}),` while it is still being built), `,_jsx(_components.code,{children:`workflow.current`}),` is\n`,_jsx(_components.code,{children:`null`}),` and there is no `,_jsx(_components.code,{children:`head_revision_id`}),`. Its `,_jsx(_components.code,{children:`workflow.error_code`}),` says why,\n`,_jsx(_components.code,{children:`workflow.requested`}),` says what it asked for, so it can be sent again, and\n`,_jsx(_components.code,{children:`created_at`}),` is when it was first asked for (a retry does not move it), which\ntells same-named failed creations apart:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"44444444-4444-4444-4444-444444444444\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Find free slots\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-23T09:14:02+00:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workflow_version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"workflow_v1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"workflow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"app\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"error_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"connection_unavailable\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"current\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"requested\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"metadata_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"55555555-5555-5555-5555-555555555555\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"connection_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"66666666-6666-6666-6666-666666666666\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"toolkit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"googlecalendar\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GOOGLECALENDAR_FIND_FREE_SLOTS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"20260902_00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"fixed_inputs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {}, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"timeout_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`For an `,_jsx(_components.code,{children:`http`}),` tool, `,_jsx(_components.code,{children:`requested`}),` carries everything but its credentials, in the\nshape a built tool’s revision shows them:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"requested\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"url_display\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.example.com/v1/lookup\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"url_redacted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"configured_header_names\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"effect\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"read\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"timeout_ms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`7000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"include_call_context\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"input_schema\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"properties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } } }, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"output_schema\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`url_display`}),` is the address without its query, fragment or `,_jsx(_components.code,{children:`user:password`}),`;\n`,_jsx(_components.code,{children:`url_redacted`}),` is `,_jsx(_components.code,{children:`true`}),` when one of those was taken off, so send the full\naddress again. Header `,_jsx(_components.strong,{children:`values`}),` are never echoed: send each name in\n`,_jsx(_components.code,{children:`configured_header_names`}),` with its value again. Fix it with\n`,_jsx(_components.a,{href:`/api-reference/tools/update#a-tool-whose-creation-failed`,children:_jsx(_components.code,{children:`PATCH /tools/{id}`})}),`\nor remove it with `,_jsx(_components.a,{href:`/api-reference/tools/delete`,children:_jsx(_components.code,{children:`DELETE /tools/{id}`})}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`the-two-names-for-the-same-token`,children:`The two names for the same token`}),`\n`,_jsx(_components.p,{children:`The tokens that say which revision you read are named one way here and another\nway on the way back in. They are the same two values; copy them across:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Read here`}),_jsxs(_components.th,{children:[`Send on `,_jsx(_components.a,{href:`/api-reference/tools/update`,children:`Update tool`})]})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`workflow.head_revision_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`expected_head_revision_id`}),` (top level, not under `,_jsx(_components.code,{children:`workflow`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`workflow.head_generation`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`expected_head_generation`}),` (top level, not under `,_jsx(_components.code,{children:`workflow`}),`)`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Both are required on an update and refused on a create, where there is no head\nto compare against. A stale pair answers `,_jsx(_components.code,{children:`409`}),`: reload, review, and submit a new\nchange rather than retrying the same body.`]}),`\n`,_jsxs(_components.p,{children:[`Use this endpoint to poll accepted materialization or queued promotion. Reading does not execute actions or create a new revision. An archived tool answers its short form (see `,_jsx(_components.a,{href:`#an-archived-tool`,children:`An archived tool`}),`); a tool from another workspace, or one that does not exist, returns `,_jsx(_components.code,{children:`404`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`HTTP configuration returns `,_jsx(_components.code,{children:`url_display`}),`, redaction metadata, method, and configured header `,_jsx(_components.strong,{children:`names`}),`, never private URL query/userinfo/fragment or header values. App configuration returns local account and metadata IDs, labeled-account readiness, a dated version, fixed values, and public schemas—not the connected-app service’s own project, configuration or account identifiers. Use omitted URL/header fields when retaining private values on update.`]}),`\n`,_jsxs(Heading,{level:`2`,id:`url_replacement_required-is-always-true`,children:[_jsx(_components.code,{children:`url_replacement_required`}),` is always true`]}),`\n`,_jsxs(_components.p,{children:[`An HTTP tool’s `,_jsx(_components.code,{children:`configuration`}),` comes back as a `,_jsx(_components.strong,{children:`display projection`}),`, never as\nsomething you can send back:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"configuration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url_display\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.example.com/orders\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url_redacted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url_replacement_required\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"configured_query_names\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"api_version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"configured_header_names\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`url_display`})}),` is scheme, host and path only, and it is `,_jsx(_components.strong,{children:`readable`}),`: any\nkey with `,_jsx(_components.code,{children:`tools:read`}),`, and anyone who can open the tool in the dashboard, sees\nthe address the tool calls. Any query string, fragment and userinfo is\nstripped before the value ever leaves the platform — the query is the private\npart, not the address.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`url_redacted`})}),` says whether anything `,_jsx(_components.em,{children:`was`}),` stripped — `,_jsx(_components.code,{children:`true`}),` means the\nsaved URL carries a query string you cannot see here.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`configured_query_names`}),` / `,_jsx(_components.code,{children:`configured_header_names`})]}),` name what is\nconfigured, never the values.`]}),`\n`,_jsxs(_components.li,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`empty_header_names`}),` / `,_jsx(_components.code,{children:`empty_query_names`})]}),` appear only when something is\nempty: a header saved with no value, a query parameter written `,_jsx(_components.code,{children:`name=`}),` with\nnothing after it. A tool that a `,_jsxs(_components.a,{href:`/api-reference/agents/duplicate`,children:[`Duplicate with `,_jsx(_components.code,{children:`fork_tools`})]}),`\nmade for the copy starts that way, because values are never copied. Send the\nvalues with `,_jsx(_components.a,{href:`/api-reference/tools/update`,children:_jsx(_components.code,{children:`PATCH /tools/{id}`})}),` (the whole URL,\nfor a query part); until then the tool sends them empty, and a workflow check\nnames the tool in a `,_jsx(_components.code,{children:`tool_values_missing`}),` warning.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`url_replacement_required`})}),` is the constant `,_jsx(_components.code,{children:`true`}),`, on every read, for\nevery HTTP tool. It is not a per-tool flag and it never turns off.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`It reads as a constant because it states a rule rather than a condition: since\nthe projection is lossy, `,_jsx(_components.strong,{children:`a revision that changes the URL must send the whole\nURL again`}),`, including the query string. Round-tripping `,_jsx(_components.code,{children:`url_display`}),` back into\n`,_jsx(_components.a,{href:`/api-reference/tools/create-revision`,children:`Add a tool contract revision`}),` would\nquietly drop the part you could not see. To keep the saved URL and its query\nexactly as they are, omit the URL field from the revision instead — the same\nrule the configured headers follow.`]}),`\n`,_jsx(Heading,{level:`2`,id:`a-legacy-tool’s-headers-come-back-the-same-way`,children:`A legacy tool’s headers come back the same way`}),`\n`,_jsxs(_components.p,{children:[`A tool that predates workflow ownership answers with `,_jsx(_components.code,{children:`type`}),` and `,_jsx(_components.code,{children:`config`}),`\ninstead of `,_jsx(_components.code,{children:`workflow`}),`, and its request headers follow the same rule:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"webhook\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"config\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/book\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timeout_seconds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"configured_header_names\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-Yappr-Webhook-Secret\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`config.headers`}),` is not in the answer — not here, not in\n`,_jsx(_components.a,{href:`/api-reference/tools/list`,children:`List tools`}),`, not in the tools embedded in\n`,_jsx(_components.a,{href:`/api-reference/agents/get`,children:`Get agent`}),`, and not in the object\n`,_jsx(_components.code,{children:`POST`}),`/`,_jsx(_components.code,{children:`PATCH /tools`}),` echoes back. `,_jsx(_components.code,{children:`configured_header_names`}),` names what is\nstored, sorted, and nothing more. Keeping a header you cannot read means\nsending `,_jsx(_components.code,{children:`null`}),` under its exact name, or leaving `,_jsx(_components.code,{children:`headers`}),` out of the change\naltogether — see `,_jsx(_components.a,{href:`/api-reference/tools/update`,children:`Update tool`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Tool","openapi":"GET /tools/{id}","description":"Requires tools:read. Workflow-owned tools return safe current/candidate schemas and durable change/promotion status. URL queries, userinfo, fragments and header values remain private. GET does not execute actions or start another change. An archived workflow tool answers its short form - id, name, description, workflow_version, is_active false, created_at, updated_at, archived true, archived_at and workflow.kind - so a lost tool can be found and restored with POST /tools/{id}/restore.","href":"/api-reference/tools/get"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"An archived tool","slug":"an-archived-tool","depth":3,"children":[]},{"title":"A tool an integration runs","slug":"a-tool-an-integration-runs","depth":3,"children":[]},{"title":"A tool whose creation failed","slug":"a-tool-whose-creation-failed","depth":3,"children":[]},{"title":"The two names for the same token","slug":"the-two-names-for-the-same-token","depth":3,"children":[]},{"title":"url_replacement_required is always true","slug":"url_replacement_required-is-always-true","depth":2,"children":[]},{"title":"A legacy tool’s headers come back the same way","slug":"a-legacy-tool’s-headers-come-back-the-same-way","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get tool","description":"Requires tools:read. Workflow-owned tools return safe current/candidate schemas and durable change/promotion status. URL queries, userinfo, fragments and header values remain private. GET does not execute actions or start another change. An archived workflow tool answers its short form - id, name, description, workflow_version, is_active false, created_at, updated_at, archived true, archived_at and workflow.kind - so a lost tool can be found and restored with POST /tools/{id}/restore.","operationId":"getTool","tags":["Tools"],"responses":{"200":"a76d42fe-1e5d-4bc5-9df8-0b5b07ebf6f8","400":"26edfa2f-4305-4606-9b3b-25c734cb53d5"},"method":"get","type":"path","servers":["dc0c5f7d-c0c3-40b9-9c53-ce2239f5b67d"],"security":["2767439e-f0c6-4cd4-a450-ba11a6ab8311"],"path":"/tools/{id}","baseUrlOptions":["https://api.goyappr.com"],"title":"Get tool","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"6cade02a-49b0-461d-9ee3-f1c05544bdab":{"in":"path","name":"id","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"responses":{"a76d42fe-1e5d-4bc5-9df8-0b5b07ebf6f8":{"description":"Tool details","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Temporary legacy webhook/function migration boundary. New tools use the workflow variant.","required":["id","type"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"oneOf.0.id","typeLabel":"string\u003cuuid>"},"type":{"type":"string","enum":["webhook","function"],"isRequired":true,"uniqueKey":"oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"Normalized to camelCase (e.g. 'capture_lead' → 'captureLead')","uniqueKey":"oneOf.0.name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.description","typeLabel":"string | null"},"config":{"type":"object","additionalProperties":true,"description":"Webhook configuration. Request header values are never returned: a read omits `config.headers` entirely and reports the names in `config.configured_header_names`. Writes are per header, the same rule a workflow tool follows — omitting `headers` keeps every stored header, an explicit empty object clears them all, a string sets one, `null` keeps the value already stored under that exact name, and a stored name you leave out of a `headers` you did send is removed. On `POST /tools` nothing is stored yet, so `null` is refused with `400`.\nA legacy transfer tool (made in the dashboard) carries `destination`, `announce_transfer` and `announce_message`, and may carry `transfer_method`, `pbx_feature_code` and `pbx_feature_code_hangup_after_secs`: the same keys, values and rules as on a flow's TransferNode, with `destination` in place of `transfer_to`.\n","properties":{"configured_header_names":{"type":"array","readOnly":true,"items":{"type":"string","uniqueKey":"oneOf.0.config.configured_header_names.items.[INDEX]","typeLabel":"string"},"description":"Names of the request headers this tool sends, sorted. Values are never returned.","uniqueKey":"oneOf.0.config.configured_header_names","typeLabel":"string[]"}},"uniqueKey":"oneOf.0.config","typeLabel":"object"},"is_active":{"type":"boolean","uniqueKey":"oneOf.0.is_active","typeLabel":"boolean"},"created_at":{"type":"string","format":"date-time","uniqueKey":"oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["id","name","workflow_version","workflow"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"oneOf.1.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.name","typeLabel":"string"},"workflow_version":{"const":"workflow_v1","readOnly":true,"isRequired":true,"uniqueKey":"oneOf.1.workflow_version","typeLabel":"any"},"workflow":{"type":"object","required":["kind","status","request_id","current"],"properties":{"kind":{"type":"string","enum":["http","app","transfer"],"isRequired":true,"uniqueKey":"oneOf.1.workflow.kind","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["accepted","claimed","current","queued","compiling","ready","promoted","failed","conflict"],"isRequired":true,"uniqueKey":"oneOf.1.workflow.status","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"oneOf.1.workflow.request_id","typeLabel":"string\u003cuuid>"},"current":{"oneOf":[{"type":"object","description":"Safe authoring projection. Raw execution contracts, provider IDs, URL queries, and header values are never included.","required":["revision_id","revision","kind","name","description","input_schema","output_schema","allowed_phases","allowed_channels"],"properties":{"revision_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"oneOf.1.workflow.current.oneOf.0.revision_id","typeLabel":"string\u003cuuid>"},"revision":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"oneOf.1.workflow.current.oneOf.0.revision","typeLabel":"integer"},"kind":{"type":"string","enum":["http","app","transfer"],"isRequired":true,"uniqueKey":"oneOf.1.workflow.current.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.workflow.current.oneOf.0.name","typeLabel":"string"},"description":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.workflow.current.oneOf.0.description","typeLabel":"string"},"input_schema":{"type":"object","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.1.workflow.current.oneOf.0.input_schema","typeLabel":"object"},"output_schema":{"type":"object","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.1.workflow.current.oneOf.0.output_schema","typeLabel":"object"},"allowed_phases":{"type":"array","items":{"type":"string","enum":["before","during","after"],"uniqueKey":"oneOf.1.workflow.current.oneOf.0.allowed_phases.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"oneOf.1.workflow.current.oneOf.0.allowed_phases","typeLabel":"enum\u003cstring>[]"},"allowed_channels":{"type":"array","items":{"enum":["phone","web"],"type":"string","uniqueKey":"oneOf.1.workflow.current.oneOf.0.allowed_channels.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"oneOf.1.workflow.current.oneOf.0.allowed_channels","typeLabel":"enum\u003cstring>[]"},"timeout_ms":{"type":"integer","uniqueKey":"oneOf.1.workflow.current.oneOf.0.timeout_ms","typeLabel":"integer"},"effect":{"type":"string","enum":["read","write","terminal"],"uniqueKey":"oneOf.1.workflow.current.oneOf.0.effect","typeLabel":"enum\u003cstring>"},"configuration":{"type":"object","description":"HTTP display only. Never use this projection as the replacement execution configuration.","properties":{"method":{"type":"string","uniqueKey":"oneOf.1.workflow.current.oneOf.0.configuration.method","typeLabel":"string"},"url_display":{"type":"string","description":"Non-executable URL display label without userinfo, query, or fragment.","uniqueKey":"oneOf.1.workflow.current.oneOf.0.configuration.url_display","typeLabel":"string"},"url_redacted":{"type":"boolean","description":"True when the saved URL carries a query string that this projection strips.","uniqueKey":"oneOf.1.workflow.current.oneOf.0.configuration.url_redacted","typeLabel":"boolean"},"url_replacement_required":{"const":true,"description":"Always true, for every HTTP tool, on every read. It states a rule rather than a condition - because this projection is lossy, a revision that changes the URL must send the whole URL again, query string included; omit the field to keep the saved one. Never send url_display back as the replacement URL.\n","uniqueKey":"oneOf.1.workflow.current.oneOf.0.configuration.url_replacement_required","typeLabel":"any"},"configured_query_names":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.workflow.current.oneOf.0.configuration.configured_query_names.items.[INDEX]","typeLabel":"string"},"description":"Names of the query parameters configured on the saved URL. Values are never returned.","uniqueKey":"oneOf.1.workflow.current.oneOf.0.configuration.configured_query_names","typeLabel":"string[]"},"configured_header_names":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.workflow.current.oneOf.0.configuration.configured_header_names.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.workflow.current.oneOf.0.configuration.configured_header_names","typeLabel":"string[]"},"empty_header_names":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.workflow.current.oneOf.0.configuration.empty_header_names.items.[INDEX]","typeLabel":"string"},"description":"Present only when some are - the headers whose saved value is empty. A tool a Duplicate with fork_tools made for the copy has every header this way until the values are sent with PATCH /tools/{id}. Values are never returned.","uniqueKey":"oneOf.1.workflow.current.oneOf.0.configuration.empty_header_names","typeLabel":"string[]"},"empty_query_names":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.workflow.current.oneOf.0.configuration.empty_query_names.items.[INDEX]","typeLabel":"string"},"description":"Present only when some are - the query parameters on the saved URL written name= with nothing after the =. A forked tool keeps the source's query names this way. Send the whole URL with PATCH /tools/{id} to fill them.","uniqueKey":"oneOf.1.workflow.current.oneOf.0.configuration.empty_query_names","typeLabel":"string[]"}},"uniqueKey":"oneOf.1.workflow.current.oneOf.0.configuration","typeLabel":"object"},"metadata_id":{"type":"string","format":"uuid","uniqueKey":"oneOf.1.workflow.current.oneOf.0.metadata_id","typeLabel":"string\u003cuuid>"},"connection_id":{"type":"string","format":"uuid","uniqueKey":"oneOf.1.workflow.current.oneOf.0.connection_id","typeLabel":"string\u003cuuid>"},"connection_label":{"type":"string","uniqueKey":"oneOf.1.workflow.current.oneOf.0.connection_label","typeLabel":"string"},"connection_ready":{"type":"boolean","uniqueKey":"oneOf.1.workflow.current.oneOf.0.connection_ready","typeLabel":"boolean"},"toolkit":{"type":"string","uniqueKey":"oneOf.1.workflow.current.oneOf.0.toolkit","typeLabel":"string"},"action":{"type":"string","uniqueKey":"oneOf.1.workflow.current.oneOf.0.action","typeLabel":"string"},"version":{"type":"string","pattern":"^\\d{8}_\\d{2}$","uniqueKey":"oneOf.1.workflow.current.oneOf.0.version","typeLabel":"string"},"fixed_inputs":{"type":"object","additionalProperties":true,"uniqueKey":"oneOf.1.workflow.current.oneOf.0.fixed_inputs","typeLabel":"object"},"destination":{"type":"string","uniqueKey":"oneOf.1.workflow.current.oneOf.0.destination","typeLabel":"string"},"announce_transfer":{"type":"boolean","uniqueKey":"oneOf.1.workflow.current.oneOf.0.announce_transfer","typeLabel":"boolean"},"announce_message":{"type":"string","uniqueKey":"oneOf.1.workflow.current.oneOf.0.announce_message","typeLabel":"string"},"transfer_method":{"type":"string","enum":["pbx_feature_code"],"description":"A transfer tool only, and present only when it carries a [transfer code](/concepts/sip-trunks#hand-the-call-to-your-phone-system-with-its-transfer-code) of its own, which it uses instead of the one set on the extension endpoint: one set with workflow.transfer_method on a create or an update, or one a transfer tool brought with it when its agent moved to a workflow. Comes with pbx_feature_code. Absent when the tool uses the endpoint's code.","uniqueKey":"oneOf.1.workflow.current.oneOf.0.transfer_method","typeLabel":"enum\u003cstring>"},"pbx_feature_code":{"type":"string","description":"Present with transfer_method: the tool's own in-call transfer code, for example ## or *2, sent as key presses before the extension.","uniqueKey":"oneOf.1.workflow.current.oneOf.0.pbx_feature_code","typeLabel":"string"},"pbx_feature_code_hangup_after_secs":{"type":"integer","minimum":1,"maximum":10,"description":"Present only with transfer_method and pbx_feature_code, when the tool's own code starts an attended transfer: Yappr hangs up this many seconds after the code.","uniqueKey":"oneOf.1.workflow.current.oneOf.0.pbx_feature_code_hangup_after_secs","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"oneOf.1.workflow.current.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.1.workflow.current.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.workflow.current","typeLabel":"object | null"},"error_code":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.workflow.error_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.workflow.error_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.workflow.error_code","typeLabel":"string | null"},"head_revision_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"oneOf.1.workflow.head_revision_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"oneOf.1.workflow.head_revision_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.workflow.head_revision_id","typeLabel":"string\u003cuuid> | null"},"head_generation":{"oneOf":[{"type":"integer","uniqueKey":"oneOf.1.workflow.head_generation.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.1.workflow.head_generation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.workflow.head_generation","typeLabel":"integer | null"},"candidate":{"oneOf":[{"type":"object","description":"Safe authoring projection. Raw execution contracts, provider IDs, URL queries, and header values are never included.","required":["revision_id","revision","kind","name","description","input_schema","output_schema","allowed_phases","allowed_channels"],"properties":{"revision_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.revision_id","typeLabel":"string\u003cuuid>"},"revision":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.revision","typeLabel":"integer"},"kind":{"type":"string","enum":["http","app","transfer"],"isRequired":true,"uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"name":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.name","typeLabel":"string"},"description":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.description","typeLabel":"string"},"input_schema":{"type":"object","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.input_schema","typeLabel":"object"},"output_schema":{"type":"object","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.output_schema","typeLabel":"object"},"allowed_phases":{"type":"array","items":{"type":"string","enum":["before","during","after"],"uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.allowed_phases.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.allowed_phases","typeLabel":"enum\u003cstring>[]"},"allowed_channels":{"type":"array","items":{"enum":["phone","web"],"type":"string","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.allowed_channels.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.allowed_channels","typeLabel":"enum\u003cstring>[]"},"timeout_ms":{"type":"integer","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.timeout_ms","typeLabel":"integer"},"effect":{"type":"string","enum":["read","write","terminal"],"uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.effect","typeLabel":"enum\u003cstring>"},"configuration":{"type":"object","description":"HTTP display only. Never use this projection as the replacement execution configuration.","properties":{"method":{"type":"string","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.configuration.method","typeLabel":"string"},"url_display":{"type":"string","description":"Non-executable URL display label without userinfo, query, or fragment.","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.configuration.url_display","typeLabel":"string"},"url_redacted":{"type":"boolean","description":"True when the saved URL carries a query string that this projection strips.","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.configuration.url_redacted","typeLabel":"boolean"},"url_replacement_required":{"const":true,"description":"Always true, for every HTTP tool, on every read. It states a rule rather than a condition - because this projection is lossy, a revision that changes the URL must send the whole URL again, query string included; omit the field to keep the saved one. Never send url_display back as the replacement URL.\n","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.configuration.url_replacement_required","typeLabel":"any"},"configured_query_names":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.configuration.configured_query_names.items.[INDEX]","typeLabel":"string"},"description":"Names of the query parameters configured on the saved URL. Values are never returned.","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.configuration.configured_query_names","typeLabel":"string[]"},"configured_header_names":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.configuration.configured_header_names.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.configuration.configured_header_names","typeLabel":"string[]"},"empty_header_names":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.configuration.empty_header_names.items.[INDEX]","typeLabel":"string"},"description":"Present only when some are - the headers whose saved value is empty. A tool a Duplicate with fork_tools made for the copy has every header this way until the values are sent with PATCH /tools/{id}. Values are never returned.","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.configuration.empty_header_names","typeLabel":"string[]"},"empty_query_names":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.configuration.empty_query_names.items.[INDEX]","typeLabel":"string"},"description":"Present only when some are - the query parameters on the saved URL written name= with nothing after the =. A forked tool keeps the source's query names this way. Send the whole URL with PATCH /tools/{id} to fill them.","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.configuration.empty_query_names","typeLabel":"string[]"}},"uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.configuration","typeLabel":"object"},"metadata_id":{"type":"string","format":"uuid","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.metadata_id","typeLabel":"string\u003cuuid>"},"connection_id":{"type":"string","format":"uuid","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.connection_id","typeLabel":"string\u003cuuid>"},"connection_label":{"type":"string","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.connection_label","typeLabel":"string"},"connection_ready":{"type":"boolean","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.connection_ready","typeLabel":"boolean"},"toolkit":{"type":"string","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.toolkit","typeLabel":"string"},"action":{"type":"string","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.action","typeLabel":"string"},"version":{"type":"string","pattern":"^\\d{8}_\\d{2}$","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.version","typeLabel":"string"},"fixed_inputs":{"type":"object","additionalProperties":true,"uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.fixed_inputs","typeLabel":"object"},"destination":{"type":"string","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.destination","typeLabel":"string"},"announce_transfer":{"type":"boolean","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.announce_transfer","typeLabel":"boolean"},"announce_message":{"type":"string","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.announce_message","typeLabel":"string"},"transfer_method":{"type":"string","enum":["pbx_feature_code"],"description":"A transfer tool only, and present only when it carries a [transfer code](/concepts/sip-trunks#hand-the-call-to-your-phone-system-with-its-transfer-code) of its own, which it uses instead of the one set on the extension endpoint: one set with workflow.transfer_method on a create or an update, or one a transfer tool brought with it when its agent moved to a workflow. Comes with pbx_feature_code. Absent when the tool uses the endpoint's code.","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.transfer_method","typeLabel":"enum\u003cstring>"},"pbx_feature_code":{"type":"string","description":"Present with transfer_method: the tool's own in-call transfer code, for example ## or *2, sent as key presses before the extension.","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.pbx_feature_code","typeLabel":"string"},"pbx_feature_code_hangup_after_secs":{"type":"integer","minimum":1,"maximum":10,"description":"Present only with transfer_method and pbx_feature_code, when the tool's own code starts an attended transfer: Yappr hangs up this many seconds after the code.","uniqueKey":"oneOf.1.workflow.candidate.oneOf.0.pbx_feature_code_hangup_after_secs","typeLabel":"integer"}},"uniqueKey":"oneOf.1.workflow.candidate.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.1.workflow.candidate.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.workflow.candidate","typeLabel":"object | null"},"requested":{"oneOf":[{"type":"object","description":"Only on a creation that has not built (current is null and there is no head_revision_id): what it asked for, so it can be sent again with PATCH /tools/{id}. An app tool carries metadata_id, connection_id, toolkit, action, version, fixed_inputs and timeout_ms; a transfer tool carries destination, announce_transfer and announce_message. An http tool carries everything but its credentials: url_display (the address without its query, fragment or user:password), url_redacted (true when one of those was taken off, so the full address has to be sent again), method, effect, timeout_ms, include_call_context, input_schema, output_schema and configured_header_names (names only). Header values are never echoed; send them again with the retry.","uniqueKey":"oneOf.1.workflow.requested.oneOf.0","typeLabel":"object"},{"type":"null","description":"Only on a creation that has not built (current is null and there is no head_revision_id): what it asked for, so it can be sent again with PATCH /tools/{id}. An app tool carries metadata_id, connection_id, toolkit, action, version, fixed_inputs and timeout_ms; a transfer tool carries destination, announce_transfer and announce_message. An http tool carries everything but its credentials: url_display (the address without its query, fragment or user:password), url_redacted (true when one of those was taken off, so the full address has to be sent again), method, effect, timeout_ms, include_call_context, input_schema, output_schema and configured_header_names (names only). Header values are never echoed; send them again with the retry.","uniqueKey":"oneOf.1.workflow.requested.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.workflow.requested","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"oneOf.1.workflow","typeLabel":"object"},"description":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.description","typeLabel":"string | null"},"is_active":{"type":"boolean","uniqueKey":"oneOf.1.is_active","typeLabel":"boolean"},"created_at":{"type":"string","format":"date-time","description":"When the tool was made. On a creation that has not built, when it was first asked for; a retry does not move it.","uniqueKey":"oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"integration":{"type":"object","readOnly":true,"required":["connection_id","action"],"description":"Present only on a tool an integration runs one of its actions through: the tool made for a connected account's action when that account is given to an agent (POST /agents/{id}/integrations). It names the account and the action. Such a tool belongs to the integration and is shared by every agent the account is given to: PATCH /tools/{id} answers 409 INTEGRATION_ACTION_MANAGED, DELETE /tools/{id} does too while any agent still uses it, and GET /tools leaves it out. Change which actions an agent uses with PATCH /agents/{id}/integrations/{integration_id}.","properties":{"connection_id":{"type":"string","format":"uuid","description":"The connected account (GET /tool-connections/{id}).","isRequired":true,"uniqueKey":"oneOf.1.integration.connection_id","typeLabel":"string\u003cuuid>"},"action":{"type":"string","description":"The action the tool runs, as GET /tool-connections/{id}/actions lists it.","example":"GOOGLECALENDAR_FIND_FREE_SLOTS","isRequired":true,"uniqueKey":"oneOf.1.integration.action","typeLabel":"string"}},"uniqueKey":"oneOf.1.integration","typeLabel":"object"},"warnings":{"type":"array","description":"Present only on a create that went through with something worth saying about it - today, only that another tool in this workspace already carries the same name. Never a refusal: the tool in the same response exists. Absent when there is nothing to say.","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["tool_name_in_use"],"isRequired":true,"uniqueKey":"oneOf.1.warnings.items.[INDEX].code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.warnings.items.[INDEX].message","typeLabel":"string"},"tools":{"type":"array","description":"The tools already holding the name, at most twenty.","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"oneOf.1.warnings.items.[INDEX].tools.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","uniqueKey":"oneOf.1.warnings.items.[INDEX].tools.items.[INDEX].name","typeLabel":"string"}},"uniqueKey":"oneOf.1.warnings.items.[INDEX].tools.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.warnings.items.[INDEX].tools","typeLabel":"object[]"}},"uniqueKey":"oneOf.1.warnings.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.warnings","typeLabel":"object[]"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","type":"webhook","name":"\u003cstring>","description":"\u003cstring>","config":{"configured_header_names":["\u003cstring>"]},"is_active":true,"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"26edfa2f-4305-4606-9b3b-25c734cb53d5":{"description":"TOOLS_QUERY_INVALID: a query parameter this route does not read. It reads none, and anything sent is refused by name rather than ignored.","content":{"application/json":{"schema":{"type":"object","required":["error","code"],"description":"Every error response - the secret-key API and the browser data plane alike - carries a\nhuman-readable `error` and a stable machine `code`, and a refusal that names what is\nwrong with the request carries `issues[]` too. Branch on `code`, never on the `error`\ntext. A refusal that names nothing more specific carries the code its status means:\n`BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the secret-key API\nanswers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR` (402),\n`FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `CONFLICT` (409),\n`GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),\n`UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR` (500),\n`UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT` (504). Some\nrefusals add members of their own beside these (a call request's `status`, a workflow's\n`current_version`); the operation says which.\n","properties":{"error":{"type":"string","description":"The refusal, in one sentence for a person. Its wording may change.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"The stable code to branch on.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","description":"Each thing at fault, on a 400 or 422 that names them: every query parameter or body field, not just the first. `path` is the parameter's name or the field's location.\n","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"query_param_unknown, query_param_repeated, query_param_blank, query_param_invalid, field_unknown, field_required, field_invalid, or the route's own word.","isRequired":true,"uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"string","uniqueKey":"issues.items.[INDEX].path","typeLabel":"string"}},"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"issues","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","issues":[{"code":"\u003cstring>","message":"\u003cstring>","path":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2767439e-f0c6-4cd4-a450-ba11a6ab8311":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Your Yappr API key (e.g. `ypr_live_...`). Generate one in the dashboard under **Settings → API Keys**. No key is `401 MISSING_KEY`; a key that is not one of ours, or is revoked, is `401 INVALID_KEY`; an expired one is `401 EXPIRED_KEY`. A valid key without the scope an operation needs is `403 INSUFFICIENT_SCOPE` on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's `RATE_LIMIT` asks for what is left of the minute, a route's daily cap (`RATE_LIMITED`) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is `404 ROUTE_NOT_FOUND`, and a method a served path does not take is `405 METHOD_NOT_ALLOWED` with an `Allow` header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (`POST /calls/` is `POST /calls`) and refused where it can (`GET /calls/`). A doubled slash inside a path is merged into one before the request reaches the API (`GET //calls` is `GET /calls`).","scopes":[],"schemeName":"apiKey"}}},"servers":{"dc0c5f7d-c0c3-40b9-9c53-ce2239f5b67d":{"url":"https://api.goyappr.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Your Yappr API key (e.g. `ypr_live_...`). Generate one in the dashboard under **Settings → API Keys**. No key is `401 MISSING_KEY`; a key that is not one of ours, or is revoked, is `401 INVALID_KEY`; an expired one is `401 EXPIRED_KEY`. A valid key without the scope an operation needs is `403 INSUFFICIENT_SCOPE` on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's `RATE_LIMIT` asks for what is left of the minute, a route's daily cap (`RATE_LIMITED`) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is `404 ROUTE_NOT_FOUND`, and a method a served path does not take is `405 METHOD_NOT_ALLOWED` with an `Allow` header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (`POST /calls/` is `POST /calls`) and refused where it can (`GET /calls/`). A doubled slash inside a path is merged into one before the request reaches the API (`GET //calls` is `GET /calls`).","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your Yappr API key (e.g. `ypr_live_...`). Generate one in the dashboard under **Settings → API Keys**. No key is `401 MISSING_KEY`; a key that is not one of ours, or is revoked, is `401 INVALID_KEY`; an expired one is `401 EXPIRED_KEY`. A valid key without the scope an operation needs is `403 INSUFFICIENT_SCOPE` on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's `RATE_LIMIT` asks for what is left of the minute, a route's daily cap (`RATE_LIMITED`) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is `404 ROUTE_NOT_FOUND`, and a method a served path does not take is `405 METHOD_NOT_ALLOWED` with an `Allow` header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (`POST /calls/` is `POST /calls`) and refused where it can (`GET /calls/`). A doubled slash inside a path is merged into one before the request reaches the API (`GET //calls` is `GET /calls`).","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"yappr","siteName":"Yappr","title":"Get Tool - Yappr","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T15:44:18.512Z","originalFileLocation":"api-reference/tools/get.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Requires tools:read. Workflow-owned tools return safe current/candidate schemas and durable change/promotion status. URL queries, userinfo, fragments and header values remain private. GET does not execute actions or start another change. An archived workflow tool answers its short form - id, name, description, workflow_version, is_active false, created_at, updated_at, archived true, archived_at and workflow.kind - so a lost tool can be found and restored with POST /tools/{id}/restore.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Yappr\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Tool - Yappr\">\u003cmeta data-mint-head property=\"og:description\" content=\"Requires tools:read. Workflow-owned tools return safe current/candidate schemas and durable change/promotion status. URL queries, userinfo, fragments and header values remain private. GET does not execute actions or start another change. An archived workflow tool answers its short form - id, name, description, workflow_version, is_active false, created_at, updated_at, archived true, archived_at and workflow.kind - so a lost tool can be found and restored with POST /tools/{id}/restore.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Yappr\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.goyappr.com/api-reference/tools/get\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://yappr.mintlify.site/_mintlify/api/og/v2?division=Tools\u0026amp;title=Get+Tool\u0026amp;description=Requires+tools%3Aread.+Workflow-owned+tools+return+safe+current%2Fcandidate+schemas+and+durable+change%2Fpromotion+status.+URL+queries%2C+userinfo%2C+fragments+and+header\u0026amp;theme=1423bf5e3b005ceb227321bc\u0026amp;signature=a54e68690503afa503b2972684a2749894598adb403ab40b969843bb4776da9d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Tool - Yappr\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Requires tools:read. Workflow-owned tools return safe current/candidate schemas and durable change/promotion status. URL queries, userinfo, fragments and header values remain private. GET does not execute actions or start another change. An archived workflow tool answers its short form - id, name, description, workflow_version, is_active false, created_at, updated_at, archived true, archived_at and workflow.kind - so a lost tool can be found and restored with POST /tools/{id}/restore.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yappr.mintlify.site/_mintlify/api/og/v2?division=Tools\u0026amp;title=Get+Tool\u0026amp;description=Requires+tools%3Aread.+Workflow-owned+tools+return+safe+current%2Fcandidate+schemas+and+durable+change%2Fpromotion+status.+URL+queries%2C+userinfo%2C+fragments+and+header\u0026amp;theme=1423bf5e3b005ceb227321bc\u0026amp;signature=a54e68690503afa503b2972684a2749894598adb403ab40b969843bb4776da9d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/yappr/-dhyiEDTEuUg9xPr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Yappr\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366f1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.goyappr.com/api-reference/tools/get\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/tools/get.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.goyappr.com/#organization\",\"name\":\"Yappr\",\"url\":\"https://docs.goyappr.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/yappr/E1AQ46GZ-5iPcyPp/logo/light.svg?fit=max\u0026auto=format\u0026n=E1AQ46GZ-5iPcyPp\u0026q=85\u0026s=a117ff3aa08c2017e8d58b0da5be882f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.goyappr.com#website\",\"name\":\"Yappr\",\"url\":\"https://docs.goyappr.com\",\"publisher\":{\"@id\":\"https://docs.goyappr.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.goyappr.com/api-reference/tools/get#webpage\",\"url\":\"https://docs.goyappr.com/api-reference/tools/get\",\"name\":\"Get Tool\",\"description\":\"Requires tools:read. Workflow-owned tools return safe current/candidate schemas and durable change/promotion status. URL queries, userinfo, fragments and header values remain private. GET does not execute actions or start another change. An archived workflow tool answers its short form - id, name, description, workflow_version, is_active false, created_at, updated_at, archived true, archived_at and workflow.kind - so a lost tool can be found and restored with POST /tools/{id}/restore.\",\"dateModified\":\"2026-11-12T15:44:18.512Z\",\"isPartOf\":{\"@id\":\"https://docs.goyappr.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.goyappr.com/api-reference/tools/get#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.goyappr.com/api-reference/tools/get#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tools \u0026 integrations\",\"item\":\"https://docs.goyappr.com/api-reference/tool-connections/apps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tools\",\"item\":\"https://docs.goyappr.com/api-reference/tools/list\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get Tool\",\"item\":\"https://docs.goyappr.com/api-reference/tools/get\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.goyappr.com/api-reference/tools/get#apireference\",\"headline\":\"Get Tool\",\"name\":\"Get Tool\",\"description\":\"Requires tools:read. Workflow-owned tools return safe current/candidate schemas and durable change/promotion status. URL queries, userinfo, fragments and header values remain private. GET does not execute actions or start another change. An archived workflow tool answers its short form - id, name, description, workflow_version, is_active false, created_at, updated_at, archived true, archived_at and workflow.kind - so a lost tool can be found and restored with POST /tools/{id}/restore.\",\"url\":\"https://docs.goyappr.com/api-reference/tools/get\",\"mainEntityOfPage\":{\"@id\":\"https://docs.goyappr.com/api-reference/tools/get#webpage\"},\"dateModified\":\"2026-11-12T15:44:18.512Z\",\"publisher\":{\"@id\":\"https://docs.goyappr.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.goyappr.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Yappr\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Yappr\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/tools/get.md","siteName":"Yappr","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"},{"title":"Connect through MCP","href":"/api-reference/mcp/connect"},{"title":"Error Codes","href":"/api-reference/errors"},{"title":"Report an issue","openapi":"POST /report-issue","href":"/api-reference/report-issue"}]},{"group":"Billing","pages":[{"title":"Get Billing Status","openapi":"GET /billing","href":"/api-reference/billing/get-status"},{"title":"Get Billing Rates","openapi":"GET /billing/rates","href":"/api-reference/billing/rates"},{"title":"Set Spending Limit","openapi":"PATCH /billing","href":"/api-reference/billing/spending-limit"},{"title":"Setup Payment Method","openapi":"POST /billing/setup","href":"/api-reference/billing/setup-payment"},{"title":"Top Up Credits","openapi":"POST /billing/topup","href":"/api-reference/billing/topup"},{"title":"Billing Consumption","openapi":"GET /billing/consumption","href":"/api-reference/billing/consumption"},{"title":"Billing Transactions","openapi":"GET /billing/transactions","href":"/api-reference/billing/transactions"},{"title":"Get Billing Transaction","openapi":"GET /billing/transactions/{id}","href":"/api-reference/billing/transaction"},{"title":"Get Billing Details","openapi":"GET /billing/details","href":"/api-reference/billing/details"},{"title":"Update Billing Details","openapi":"PATCH /billing/details","href":"/api-reference/billing/update-details"},{"title":"List Invoices","openapi":"GET /billing/invoices","href":"/api-reference/billing/invoices"}]},{"group":"Agents","pages":[{"title":"List Agents","openapi":"GET /agents","href":"/api-reference/agents/list"},{"title":"Create Agent","openapi":"POST /agents","href":"/api-reference/agents/create"},{"title":"Duplicate Agent","openapi":"POST /agents/{id}/duplicate","href":"/api-reference/agents/duplicate"},{"title":"Test an Agent by Phone","openapi":"POST /agents/{id}/test-call","href":"/api-reference/agents/test-call"},{"title":"Which Line Rings a Test Call","openapi":"GET /agents/{id}/test-call","href":"/api-reference/agents/test-call-caller"},{"title":"Get Agent","openapi":"GET /agents/{id}","href":"/api-reference/agents/get"},{"title":"Update Agent","openapi":"PATCH /agents/{id}","href":"/api-reference/agents/update"},{"title":"Read workflow agent settings","openapi":"GET /agents/{id}/settings","href":"/api-reference/agents/settings"},{"title":"Idle reminders","href":"/api-reference/agents/idle-reminders"},{"title":"List an agent's tools \u0026 integrations","openapi":"GET /agents/{id}/tools-and-integrations","href":"/api-reference/agents/tools-and-integrations"},{"title":"List an agent's integrations","openapi":"GET /agents/{id}/integrations","href":"/api-reference/agents/integrations-list"},{"title":"Give an agent a connected app","openapi":"POST /agents/{id}/integrations","href":"/api-reference/agents/integrations-add"},{"title":"Change an integration's actions","openapi":"PATCH /agents/{id}/integrations/{integration_id}","href":"/api-reference/agents/integrations-update"},{"title":"Stop an agent using an app","openapi":"DELETE /agents/{id}/integrations/{integration_id}","href":"/api-reference/agents/integrations-remove"},{"title":"Dry-run Extraction","openapi":"POST /agents/{id}/extraction/dry-run","href":"/api-reference/agents/extraction-dry-run"},{"title":"Remove Agent","openapi":"DELETE /agents/{id}","href":"/api-reference/agents/delete"},{"title":"Models","href":"/api-reference/agents/models"},{"title":"Languages","href":"/api-reference/agents/languages"},{"title":"Voices","href":"/api-reference/agents/voices"},{"title":"Flow Config Schema","href":"/api-reference/agents/flow-config-schema"}]},{"group":"Flow Agents","pages":[{"title":"List Flow Versions","openapi":"GET /agents/{id}/flow/versions","href":"/api-reference/flows/list-versions"},{"title":"Restore Flow Version","openapi":"POST /agents/{id}/flow/restore","href":"/api-reference/flows/restore-version"},{"title":"Test a Flow","openapi":"POST /agents/{id}/flow/test","href":"/api-reference/flows/test"}]},{"group":"Workflows","pages":[{"title":"Read workflow","openapi":"GET /agents/{id}/workflow","href":"/api-reference/workflows/get"},{"title":"Save workflow draft","openapi":"PUT /agents/{id}/workflow","href":"/api-reference/workflows/save"},{"title":"Point bindings at other tools","openapi":"POST /agents/{id}/workflow/rebind","href":"/api-reference/workflows/rebind"},{"title":"Check workflow","openapi":"POST /agents/{id}/workflow/validate","href":"/api-reference/workflows/validate"},{"title":"Publish workflow","openapi":"POST /agents/{id}/workflow/publish","href":"/api-reference/workflows/publish"},{"title":"List workflow versions","openapi":"GET /agents/{id}/workflow/versions","href":"/api-reference/workflows/versions"},{"title":"Get workflow version","openapi":"GET /agents/{id}/workflow/versions/{version_id}","href":"/api-reference/workflows/version"},{"title":"Restore workflow version","openapi":"POST /agents/{id}/workflow/restore","href":"/api-reference/workflows/restore"},{"title":"Teach an agent from a test call","openapi":"POST /agents/{id}/workflow/train","href":"/api-reference/workflows/train"},{"title":"Read workflow tool catalog","openapi":"GET /tools/workflow-catalog","href":"/api-reference/workflows/catalog"},{"title":"Trigger events","href":"/api-reference/workflows/events"},{"title":"Opening line from a Before step","href":"/api-reference/workflows/greeting-from-before"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/api-reference/webhooks"},{"title":"List Deliveries","openapi":"GET /deliveries","href":"/api-reference/deliveries/list"},{"title":"Get Delivery","openapi":"GET /deliveries/{id}","href":"/api-reference/deliveries/get"},{"title":"Retry Delivery","openapi":"POST /deliveries/{id}/retry","href":"/api-reference/deliveries/retry"}]},{"group":"Tools \u0026 integrations","pages":[{"group":"Connected accounts","pages":[{"title":"List account connection options","openapi":"GET /tool-apps/connection-options","href":"/api-reference/tool-connections/apps"},{"title":"List connected accounts","openapi":"GET /tool-connections","href":"/api-reference/tool-connections/list"},{"title":"Get connection readiness","openapi":"GET /tool-connections/{id}","href":"/api-reference/tool-connections/get"},{"title":"Connect a workspace account","openapi":"POST /tool-connections","href":"/api-reference/tool-connections/connect"},{"title":"Read authorization status","openapi":"GET /tool-connection-auth-attempts/{id}","href":"/api-reference/tool-connections/auth-attempt"},{"title":"Cancel an authorization attempt","openapi":"POST /tool-connections/attempts/{id}/cancel","href":"/api-reference/tool-connections/cancel-attempt"},{"title":"Connect a replacement account","openapi":"POST /tool-connections/{id}/reconnect","href":"/api-reference/tool-connections/reconnect"},{"title":"Disconnect an account","openapi":"DELETE /tool-connections/{id}","href":"/api-reference/tool-connections/disconnect"},{"title":"Rename an account","openapi":"PATCH /tool-connections/{id}","href":"/api-reference/tool-connections/rename"},{"title":"What a connected app can do","openapi":"GET /tool-connections/{id}/actions","href":"/api-reference/tool-connections/actions"},{"title":"Make an app's actions ready","openapi":"POST /tool-connections/{id}/actions/prepare","href":"/api-reference/tool-connections/prepare-actions"},{"title":"List an account's choices for an input","openapi":"GET /tool-connections/{id}/options/{resource}","href":"/api-reference/tool-connections/options"},{"title":"Check that an account works","openapi":"POST /tool-connections/{id}/check","href":"/api-reference/tool-connections/check"},{"title":"The agents using an app","openapi":"GET /tool-connections/{id}/agents","href":"/api-reference/tool-connections/agents"},{"title":"Take an account off the list","openapi":"POST /tool-connections/{id}/remove","href":"/api-reference/tool-connections/remove"},{"title":"Clear the attempts nobody finished","openapi":"POST /tool-connections/cleanup","href":"/api-reference/tool-connections/cleanup"}]},{"group":"Tools","pages":[{"title":"List Tools","openapi":"GET /tools","href":"/api-reference/tools/list"},{"title":"Create Tool","openapi":"POST /tools","href":"/api-reference/tools/create"},{"title":"Discover Apps","openapi":"GET /tool-apps","href":"/api-reference/tools/apps"},{"title":"Get App Versions","openapi":"GET /tool-apps/{slug}","href":"/api-reference/tools/app"},{"title":"Discover Versioned Actions","openapi":"GET /tool-apps/{slug}/actions","href":"/api-reference/tools/actions"},{"title":"Get Full Action Schemas","openapi":"GET /tool-apps/{slug}/actions/{action}","description":"Requires tools:read. Returns full authoritative input/output schemas and a local metadata ID. Preserves nested required/default/combinator semantics and exact numbers. Eligibility reflects reviewed supported completion/effect/file semantics; successful responses are not assumed to mean remote work completed. No provider credentials, auth responses or raw execution contracts are exposed.","href":"/api-reference/tools/action"},{"title":"Get Tool","openapi":"GET /tools/{id}","href":"/api-reference/tools/get"},{"title":"Get Current Tool Schemas","openapi":"GET /tools/{id}/schema","description":"Requires tools:read. Safe full public schemas for the exact current revision; fixed app fields are composed privately before raw validation and cannot be supplied again.","href":"/api-reference/tools/schema"},{"title":"List Tool Bindings","openapi":"GET /tools/{id}/bindings","href":"/api-reference/tools/bindings"},{"title":"List Tool Contract Revisions","openapi":"GET /tools/{id}/workflow-revisions","href":"/api-reference/tools/revisions"},{"title":"Add a Tool Contract Revision","openapi":"POST /tools/{id}/workflow-revisions","href":"/api-reference/tools/create-revision"},{"title":"Update Tool","openapi":"PATCH /tools/{id}","href":"/api-reference/tools/update"},{"title":"Archive Tool","openapi":"DELETE /tools/{id}","href":"/api-reference/tools/delete"},{"title":"Restore Tool","openapi":"POST /tools/{id}/restore","href":"/api-reference/tools/restore"},{"title":"Attach Tool to Agent","openapi":"POST /tools/attach","href":"/api-reference/tools/attach"},{"title":"Detach Tool from Agent","openapi":"POST /tools/detach","href":"/api-reference/tools/detach"},{"title":"Test Saved Tool","openapi":"POST /tools/{id}/test","href":"/api-reference/tools/test"},{"title":"Get Saved Tool Test","openapi":"GET /tools/{id}/tests/{test_id}","href":"/api-reference/tools/test-get"},{"title":"Cancel Tool Test","openapi":"POST /tools/{id}/tests/{test_id}/cancel","href":"/api-reference/tools/test-cancel"}]}]},{"group":"Phone Numbers","pages":[{"title":"List Owned Numbers","openapi":"GET /phone-numbers","href":"/api-reference/phone-numbers/list"},{"title":"Search Available Numbers","openapi":"POST /phone-numbers/search","href":"/api-reference/phone-numbers/search"},{"title":"Purchase Number","openapi":"POST /phone-numbers/purchase","href":"/api-reference/phone-numbers/purchase"},{"title":"Update Number","openapi":"PATCH /phone-numbers/{id}","href":"/api-reference/phone-numbers/update"},{"title":"Configure Number","openapi":"POST /phone-numbers/configure","href":"/api-reference/phone-numbers/configure"},{"title":"Release Number","openapi":"POST /phone-numbers/{id}/release","href":"/api-reference/phone-numbers/release"},{"title":"Keep Number","openapi":"POST /phone-numbers/{id}/keep","href":"/api-reference/phone-numbers/keep"}]},{"group":"SIP Endpoints","pages":[{"title":"SIP Endpoints Status","openapi":"GET /sip-endpoints/status","href":"/api-reference/sip-endpoints/status"},{"title":"List SIP Endpoints","openapi":"GET /sip-endpoints","href":"/api-reference/sip-endpoints/list"},{"title":"Create SIP Endpoint","openapi":"POST /sip-endpoints","href":"/api-reference/sip-endpoints/create"},{"title":"Get SIP Endpoint","openapi":"GET /sip-endpoints/{id}","href":"/api-reference/sip-endpoints/get"},{"title":"Update SIP Endpoint","openapi":"PATCH /sip-endpoints/{id}","href":"/api-reference/sip-endpoints/update"},{"title":"Delete SIP Endpoint","openapi":"DELETE /sip-endpoints/{id}","href":"/api-reference/sip-endpoints/delete"},{"title":"Rotate SIP Endpoint Password","openapi":"POST /sip-endpoints/{id}/rotate-password","href":"/api-reference/sip-endpoints/rotate-password"}]},{"group":"Carrier accounts","pages":[{"title":"Carrier Accounts Status","openapi":"GET /carrier-accounts/status","href":"/api-reference/carrier-accounts/status"},{"title":"List Carrier Accounts","openapi":"GET /carrier-accounts","href":"/api-reference/carrier-accounts/list"},{"title":"Connect a Telnyx Account","openapi":"POST /carrier-accounts","href":"/api-reference/carrier-accounts/create"},{"title":"Get Carrier Account","openapi":"GET /carrier-accounts/{id}","href":"/api-reference/carrier-accounts/get"},{"title":"Update Carrier Account","openapi":"PATCH /carrier-accounts/{id}","href":"/api-reference/carrier-accounts/update"},{"title":"Disconnect Carrier Account","openapi":"DELETE /carrier-accounts/{id}","href":"/api-reference/carrier-accounts/delete"},{"title":"Choose the Call Control App","openapi":"POST /carrier-accounts/{id}/connection","href":"/api-reference/carrier-accounts/connection"},{"title":"Test Carrier Account","openapi":"POST /carrier-accounts/{id}/test","href":"/api-reference/carrier-accounts/test"},{"title":"Turn a Paused Account Back On","openapi":"POST /carrier-accounts/{id}/reactivate","href":"/api-reference/carrier-accounts/reactivate"},{"title":"Sync Numbers","openapi":"POST /carrier-accounts/{id}/sync","href":"/api-reference/carrier-accounts/sync"},{"title":"Add Number to Carrier Account","openapi":"POST /carrier-accounts/{id}/numbers","href":"/api-reference/carrier-accounts/add-number"},{"title":"Answer a Number's Calls in Yappr","openapi":"POST /carrier-accounts/{id}/numbers/{phone_number_id}/configure","href":"/api-reference/carrier-accounts/configure-number"},{"title":"Stop Answering a Number's Calls in Yappr","openapi":"DELETE /carrier-accounts/{id}/numbers/{phone_number_id}/configure","href":"/api-reference/carrier-accounts/restore-number"},{"title":"Remove Number from This Workspace","openapi":"DELETE /carrier-accounts/{id}/numbers/{phone_number_id}","href":"/api-reference/carrier-accounts/remove-number"}]},{"group":"Calls","pages":[{"title":"Create Outbound Call","openapi":"POST /calls","href":"/api-reference/calls/create"},{"title":"List Calls","openapi":"GET /calls","href":"/api-reference/calls/list"},{"title":"Export Calls","openapi":"GET /calls/export","href":"/api-reference/calls/export"},{"title":"Get Call","openapi":"GET /calls/{id}","href":"/api-reference/calls/get"},{"title":"End an Unopened Browser Session","openapi":"POST /calls/{id}/end","href":"/api-reference/calls/end"},{"title":"Get Call Recording","openapi":"GET /calls/{id}/recording","href":"/api-reference/calls/recording"},{"title":"Revoke Recording Links","openapi":"POST /calls/{id}/recording/revoke","href":"/api-reference/calls/recording-revoke"},{"title":"Create Web Call Request","openapi":"POST /call-requests","href":"/api-reference/calls/request-create"},{"title":"Get Call Request","openapi":"GET /call-requests/{id}","href":"/api-reference/calls/request-get"},{"title":"Start Web Call Request","openapi":"POST /call-requests/{id}/start","href":"/api-reference/calls/request-start"},{"title":"Cancel Call Request","openapi":"POST /call-requests/{id}/cancel","href":"/api-reference/calls/request-cancel"}]},{"group":"Browser calls","pages":[{"title":"TURN Credentials","openapi":"POST /turn-credentials","href":"/api-reference/web-call/turn-credentials"},{"title":"Connect a Browser Call","openapi":"POST /web-call","href":"/api-reference/web-call/offer"},{"title":"Cancel a Browser Session","openapi":"POST /web-call/cancel","href":"/api-reference/web-call/cancel"},{"title":"Create Browser Call Request","openapi":"POST /web-call/call-requests","href":"/api-reference/web-call/request-create"},{"title":"Poll Browser Call Request","openapi":"GET /web-call/call-requests/{id}","href":"/api-reference/web-call/request-get"},{"title":"Start Browser Call Request","openapi":"POST /web-call/call-requests/{id}/start","href":"/api-reference/web-call/request-start"},{"title":"Cancel Browser Call Request","openapi":"POST /web-call/call-requests/{id}/cancel","href":"/api-reference/web-call/request-cancel"}]},{"group":"Do Not Call","pages":[{"title":"List DNC entries","openapi":"GET /do-not-call","href":"/api-reference/do-not-call/list"},{"title":"Add to DNC list","openapi":"POST /do-not-call","href":"/api-reference/do-not-call/add"},{"title":"Get DNC entry","openapi":"GET /do-not-call/{id}","href":"/api-reference/do-not-call/get"},{"title":"Update DNC entry","openapi":"PATCH /do-not-call/{id}","href":"/api-reference/do-not-call/update"},{"title":"Remove from DNC list","openapi":"DELETE /do-not-call/{id}","href":"/api-reference/do-not-call/delete"}]},{"group":"API Keys","pages":[{"title":"List API keys","openapi":"GET /api-keys","href":"/api-reference/api-keys/list"},{"title":"Issue an API key","openapi":"POST /api-keys","href":"/api-reference/api-keys/create"},{"title":"Get an API key","openapi":"GET /api-keys/{id}","href":"/api-reference/api-keys/get"},{"title":"Revoke an API key","openapi":"DELETE /api-keys/{id}","href":"/api-reference/api-keys/delete"}]},{"group":"Call Windows","pages":[{"title":"Get call time windows","openapi":"GET /call-windows","href":"/api-reference/call-windows/get"},{"title":"Update call time windows","openapi":"PUT /call-windows","href":"/api-reference/call-windows/update"}]},{"group":"Dispositions","pages":[{"title":"List Dispositions","openapi":"GET /dispositions","href":"/api-reference/dispositions/list"},{"title":"Create Disposition","openapi":"POST /dispositions","href":"/api-reference/dispositions/create"},{"title":"Get Disposition","openapi":"GET /dispositions/{id}","href":"/api-reference/dispositions/get"},{"title":"Update Disposition","openapi":"PATCH /dispositions/{id}","href":"/api-reference/dispositions/update"},{"title":"Delete Disposition","openapi":"DELETE /dispositions/{id}","href":"/api-reference/dispositions/delete"}]},{"group":"Leads","pages":[{"title":"List Leads","openapi":"GET /leads","href":"/api-reference/leads/list"},{"title":"Create Lead","openapi":"POST /leads","href":"/api-reference/leads/create"},{"title":"Get Lead","openapi":"GET /leads/{id}","href":"/api-reference/leads/get"},{"title":"Update Lead","openapi":"PATCH /leads/{id}","href":"/api-reference/leads/update"},{"title":"Delete Lead","openapi":"DELETE /leads/{id}","href":"/api-reference/leads/delete"}]},{"group":"Lead Tags","pages":[{"title":"List Lead Tags","openapi":"GET /lead-tags","href":"/api-reference/lead-tags/list"},{"title":"Create Lead Tag","openapi":"POST /lead-tags","href":"/api-reference/lead-tags/create"},{"title":"Get Lead Tag","openapi":"GET /lead-tags/{id}","href":"/api-reference/lead-tags/get"},{"title":"Update Lead Tag","openapi":"PATCH /lead-tags/{id}","href":"/api-reference/lead-tags/update"},{"title":"Delete Lead Tag","openapi":"DELETE /lead-tags/{id}","href":"/api-reference/lead-tags/delete"}]},{"group":"Campaigns","pages":[{"title":"List campaigns","openapi":"GET /campaigns","href":"/api-reference/campaigns/list"},{"title":"Suggested campaign settings","openapi":"GET /campaigns/defaults","href":"/api-reference/campaigns/defaults"},{"title":"Create a campaign","openapi":"POST /campaigns","href":"/api-reference/campaigns/create"},{"title":"Get a campaign","openapi":"GET /campaigns/{id}","href":"/api-reference/campaigns/get"},{"title":"Update a campaign","openapi":"PATCH /campaigns/{id}","href":"/api-reference/campaigns/update"},{"title":"Archive a campaign","openapi":"DELETE /campaigns/{id}","href":"/api-reference/campaigns/archive"},{"title":"Restore a campaign","openapi":"POST /campaigns/{id}/restore","href":"/api-reference/campaigns/restore"},{"title":"Launch a campaign","openapi":"POST /campaigns/{id}/launch","href":"/api-reference/campaigns/launch"},{"title":"Pause a campaign","openapi":"POST /campaigns/{id}/pause","href":"/api-reference/campaigns/pause"},{"title":"Resume a campaign","openapi":"POST /campaigns/{id}/resume","href":"/api-reference/campaigns/resume"},{"title":"Stop a campaign","openapi":"POST /campaigns/{id}/stop","href":"/api-reference/campaigns/stop"},{"title":"Campaign stats","openapi":"GET /campaigns/{id}/stats","href":"/api-reference/campaigns/stats"},{"group":"Contacts","pages":[{"title":"Enroll contacts","openapi":"POST /campaigns/{id}/leads","href":"/api-reference/campaigns/enroll"},{"title":"List enrolled contacts","openapi":"GET /campaigns/{id}/leads","href":"/api-reference/campaigns/list-leads"},{"title":"Exclude a contact","openapi":"DELETE /campaigns/{id}/leads/{lead_id}","href":"/api-reference/campaigns/exclude"}]}]},{"group":"Shared Links","pages":[{"title":"List Shared Links","openapi":"GET /shared-links","href":"/api-reference/shared-links/list"},{"title":"Create Shared Link","openapi":"POST /shared-links","href":"/api-reference/shared-links/create"},{"title":"Get Shared Link","openapi":"GET /shared-links/{id}","href":"/api-reference/shared-links/get"},{"title":"Revoke Shared Link","openapi":"PATCH /shared-links/{id}","href":"/api-reference/shared-links/update"}]},{"group":"Affiliates","pages":[{"title":"Affiliate stats","openapi":"GET /affiliates/stats","href":"/api-reference/affiliates/stats"},{"title":"List sub-affiliates","openapi":"GET /affiliates/downline","href":"/api-reference/affiliates/downline"}]},{"group":"Agent Eval","pages":[{"group":"Personas","pages":[{"title":"List Personas","openapi":"GET /agent-eval/personas","href":"/api-reference/agent-eval/personas/list"},{"title":"Create Persona","openapi":"POST /agent-eval/personas","href":"/api-reference/agent-eval/personas/create"},{"title":"Get Persona","openapi":"GET /agent-eval/personas/{id}","href":"/api-reference/agent-eval/personas/get"},{"title":"Update Persona","openapi":"PATCH /agent-eval/personas/{id}","href":"/api-reference/agent-eval/personas/update"},{"title":"Delete Persona","openapi":"DELETE /agent-eval/personas/{id}","href":"/api-reference/agent-eval/personas/delete"}]},{"group":"Cases","pages":[{"title":"List Cases","openapi":"GET /agent-eval/cases","href":"/api-reference/agent-eval/cases/list"},{"title":"Create Case","openapi":"POST /agent-eval/cases","href":"/api-reference/agent-eval/cases/create"},{"title":"Get Case","openapi":"GET /agent-eval/cases/{id}","href":"/api-reference/agent-eval/cases/get"},{"title":"Update Case","openapi":"PATCH /agent-eval/cases/{id}","href":"/api-reference/agent-eval/cases/update"},{"title":"Delete Case","openapi":"DELETE /agent-eval/cases/{id}","href":"/api-reference/agent-eval/cases/delete"},{"title":"Run a Case","openapi":"POST /agent-eval/cases/{case_id}/run","href":"/api-reference/agent-eval/cases/run"}]},{"group":"Suites","pages":[{"title":"List Suites","openapi":"GET /agent-eval/suites","href":"/api-reference/agent-eval/suites/list"},{"title":"Create Suite","openapi":"POST /agent-eval/suites","href":"/api-reference/agent-eval/suites/create"},{"title":"Get Suite","openapi":"GET /agent-eval/suites/{id}","href":"/api-reference/agent-eval/suites/get"},{"title":"Update Suite","openapi":"PATCH /agent-eval/suites/{id}","href":"/api-reference/agent-eval/suites/update"},{"title":"Delete Suite","openapi":"DELETE /agent-eval/suites/{id}","href":"/api-reference/agent-eval/suites/delete"},{"title":"Run a Suite","openapi":"POST /agent-eval/suites/{id}/run","href":"/api-reference/agent-eval/suites/run"},{"title":"List Suite Executions","openapi":"GET /agent-eval/suites/{id}/runs","href":"/api-reference/agent-eval/suites/runs/list"},{"title":"Get Suite Execution","openapi":"GET /agent-eval/suites/{id}/runs/{suite_run_id}","href":"/api-reference/agent-eval/suites/runs/get"}]},{"group":"Runs","pages":[{"title":"List Runs","openapi":"GET /agent-eval/runs","href":"/api-reference/agent-eval/runs/list"},{"title":"Get Run","openapi":"GET /agent-eval/runs/{id}","href":"/api-reference/agent-eval/runs/get"},{"title":"Get Run Turns","openapi":"GET /agent-eval/runs/{id}/turns","href":"/api-reference/agent-eval/runs/turns"},{"title":"Get Run Evaluation","openapi":"GET /agent-eval/runs/{id}/evaluation","href":"/api-reference/agent-eval/runs/evaluation"},{"title":"Cancel a Run","openapi":"POST /agent-eval/runs/{id}/cancel","href":"/api-reference/agent-eval/runs/cancel"}]}]}]}]},"basePath":"","title":"Get Tool - Yappr","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CWRF67qg.js","snippetPresets-BR8BoZAC.js","utils-D5WEoDBM.js","style-to-object-BY3JEAdk.js","utils-B79vXYXV.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-C59iNs-S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-455jK_K_.js","_Uint8Array-BEecbuUl.js","isObject-FP1Yky1u.js","ApiExamples-CFRHL52q.js","usePlaygroundInputsStore-Caip2xMX.js","shallow-BS-qcxmX.js","isEqual-CEpbaqh9.js","CodeSnippets-B-R0FAqw.js","CodeSnippet-Bkkti1IB.js","use-playground-group-access-BLvLSz8w.js","Page-UFatEFaf.js","api-description-markdown-Cny85OC3.js","DynamicMarkdown-Czhs88Hc.js","SectionHeading-B08KBUKT.js","MethodPill-D8OvWg5y.js","getPastedJson-tB5m0_yh.js","Check2Icon-CeP__a4S.js","axios-CsQoIw0U.js","Markdown-LI7DSqeK.js","AssistantPageLink-bYxdsqKl.js","dist-DXTH2WLA.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}