Skip to main content

Create an Oliver tool catalogue entry.

POST/api/v1/oliver-toolsoliver:write

Adds a catalogue entry for a tool the server implements, so agents can be given it. The slug must name such a tool (422 on /slug otherwise) and no entry may have it already (409). The entry is not built in, so it can be changed and deleted. Needs Create Oliver Tools.

Scopeoliver:write (sensitive)
AsynchronousNo
MCP toolcreate_oliver_tool
Portal permissionscreate_oliver_tools

Parameters​

NameInTypeRequiredDescription
Docwize-Versionheaderstring (date)Optional
Idempotency-KeyheaderstringOptionalmax 255

Request body​

Content typeType
application/jsonOliverToolCreateInput

Responses​

StatusDescriptionBody
201Success.application/json OliverTool or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409already_exists, idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

OliverTool​

FieldTypeRequiredDescription
categorystring or nullRequired
char_countintegerRequired≥ -2147483648; ≤ 2147483647
created_atstring (date-time) or nullRequired
descriptionstring or nullRequired
input_schemastring or nullRequiredThe JSON schema of the tool's input, as text.
is_builtinbooleanRequiredTrue for a tool the Portal ships: its name, description, category and schemas cannot be changed and it cannot be deleted.
is_enabledbooleanRequiredWhether agents may be given the tool.
namestringRequired
oliver_tool_idstringRequired
output_schemastring or nullRequiredThe JSON schema of the tool's output, as text.
slugstringRequiredThe name an agent configuration's allowed_tools takes.
summarise_oliver_model_idstring or nullRequiredThe model that condenses the results; null for the organisation's default.
summarise_resultsbooleanRequiredWhether long results are condensed by a cheaper model first.
token_countintegerRequiredThe approximate size of the tool's text in tokens. ≥ -2147483648; ≤ 2147483647
updated_atstring (date-time) or nullRequired

OliverToolCreateInput​

FieldTypeRequiredDescription
categorystring or nullOptionalThe group the Tools tab lists the tool under.
descriptionstring or nullOptional
input_schemastring or nullOptionalThe JSON schema of the tool's input, as JSON text.
is_enabledboolean or nullOptionalWhether agents may be given the tool; default true.
namestringRequiredThe name the Tools tab shows.
output_schemastring or nullOptionalThe JSON schema of the tool's output, as JSON text.
slugstringRequiredThe tool's slug: it must be a tool the server implements, which no other catalogue entry already has.
summarise_oliver_model_idstring or nullOptionalThe model that condenses the results (an id from list_oliver_models); omit for the organisation's default.
summarise_resultsboolean or nullOptionalWhether long results are condensed by a cheaper model first; default false.