Goosy Bear · Schema
ToolRefusal
A call that was admitted and dispatched, and did not succeed.
Artificial IntelligenceMarketingSmall BusinessContent CreationAutomationCompany
Properties
| Name | Type | Description |
|---|---|---|
| ok | boolean | |
| code | string | The typed reason — e.g. `workspace_ambiguous`, `invalid_arguments`, or the tool's own failure code. |
| message | string | A sentence a person can act on. |
| workspaces | array | On a workspace refusal: the slugs this key may pass as `workspace`. |
| issues | array | On `invalid_arguments`: which fields failed, and why. |
| path | string | On an authoring refusal: where in your call's input it points, e.g. `steps. |
| fix | string | On an authoring refusal: the change to your call that would pass. |
| instruction | string | On an authoring refusal: what to do next with it. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/goosybear-ai/json-schema/goosybear-ai-tool-refusal-schema.json",
"title": "ToolRefusal",
"description": "A call that was admitted and dispatched, and did not succeed.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/goosybear-ai-openapi.yml#/components/schemas/ToolRefusal",
"type": "object",
"properties": {
"ok": {
"type": "boolean",
"const": false
},
"code": {
"type": "string",
"description": "The typed reason — e.g. `workspace_ambiguous`, `invalid_arguments`, or the tool's own failure code."
},
"message": {
"type": "string",
"description": "A sentence a person can act on."
},
"workspaces": {
"description": "On a workspace refusal: the slugs this key may pass as `workspace`.",
"type": "array",
"items": {
"type": "string"
}
},
"issues": {
"description": "On `invalid_arguments`: which fields failed, and why.",
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"path",
"message"
],
"additionalProperties": false
}
},
"path": {
"description": "On an authoring refusal: where in your call's input it points, e.g. `steps.<key>.params.<field>`.",
"type": "string"
},
"fix": {
"description": "On an authoring refusal: the change to your call that would pass.",
"type": "string"
},
"instruction": {
"description": "On an authoring refusal: what to do next with it.",
"type": "string"
}
},
"required": [
"ok",
"code",
"message"
],
"additionalProperties": false
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/goosybear-ai-tool-refusal"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.