Discovery
search_docs
readSearch Sign Customiser documentation
Look up how Sign Customiser documents something, rather than inferring it from a tool result.
Overview
Searches the published Sign Customiser API and connector reference and returns matching sections with their title, a short excerpt and the URL the section is documented at. It exists so an assistant can look up an enum values, a pricing-model rule, an operation required scope or an error code instead of guessing. It reads published documentation rather than the merchant Store, requires no scope beyond a valid connection, returns no Store data and has no side effects.
Permission
Needs no permission beyond a connected store.
Annotations
Prerequisites
- A valid connection. No scope is required.
Arguments
The words to look for. Matching is on term overlap against section titles, document names and body text, so a short phrase of the words you expect to appear works better than a question.
How many sections to return, between 1 and 20. Defaults to 5.
Result
At most `limit` sections, most relevant first, each with an excerpt truncated to 400 characters and the public URL of the page it came from. A query that matches nothing returns an empty list rather than unrelated sections.
The query that was searched, echoed back.
The matching sections, most relevant first.
The document the section belongs to.
The opening of the section, at most 400 characters.
Where the section is published.
Error cases
The reference artefact is not present in this deployment. Quote request_id when reporting it; no argument change will help.
query was empty or longer than 200 characters. Send a short phrase of the words you expect in the documentation.
Look up how idempotent writes are retried
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_docs",
"arguments": {
"query": "retry writes with idempotency",
"limit": 1
}
}
}{
"jsonrpc": "2.0",
"id": 1,
"result": {
"structuredContent": {
"request_id": "req_01jz9x2k7c8f3m5n6p7q8r9s0t",
"store": {
"id": 12,
"name": "Demo Signs"
},
"query": "retry writes with idempotency",
"results": [
{
"title": "Retry writes with idempotency",
"section": "Errors and retries",
"excerpt": "Send an Idempotency-Key header on every write. Retrying the identical request with the same key replays the original response instead of executing again.",
"url": "https://www.signcustomiser.com/help/api/guides/errors-and-retries/"
}
]
}
}
}An empty query (error)
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_docs",
"arguments": {
"query": ""
}
}
}{
"jsonrpc": "2.0",
"id": 1,
"result": {
"isError": true,
"structuredContent": {
"error": {
"code": "validation_failed",
"title": "Validation failed",
"detail": "The query field is required.",
"recovery": "Correct every field listed in errors, using its pointer to locate the value and allowed_values where one is given, then call the tool again.",
"pointer": "/query"
}
}
}
}