ReadonlyaccessWhether the tool reaches only local state or a remote system.
Optional ReadonlydeprecatedThe tool is kept only as an alias. Defaults to false.
ReadonlydescriptionThe model-facing description: two to four sentences.
Optional ReadonlydestructiveA change the tool makes may destroy data. Defaults to false.
ReadonlyfuncThe synchronous function that does the work.
Optional ReadonlyidempotentRepeating a call has no further effect. Defaults to true.
ReadonlyinputJSON Schema of the arguments; the root has type: "object".
Optional ReadonlymetaFree-form JSON data for the runtime. Defaults to {}.
ReadonlynameLowercase snake_case, at most 48 characters (NAME_RE).
Optional ReadonlyoutputJSON Schema of the result; the root has type: "object".
Optional ReadonlyreadThe tool changes nothing. Defaults to true.
Optional ReadonlyresultThe envelope the tool returns. Defaults to records.
Optional ReadonlytagsWhat the tool is, for a host to select by. Defaults to none.
Optional ReadonlytargetThe remote system the tool reaches, when it names one.
Optional ReadonlytitleA display name for a person.
The fields an OCTool is constructed from.
Required:
name,description,inputSchema,funcandaccess. Every other field has a default, so a field a later minor spec version adds never breaks construction.