add_example
Store reference images for process diagrams or CONOPS visuals by providing description, caption, and type, with optional methodology text to enhance search relevance.
Instructions
Add a reference image to the example library.
Args: description: Written description of what the image shows. image_path: Absolute or relative path to the image file. caption: The caption associated with this image. image_type: Diagram type — 'process' or 'conops'. source_context: Optional full methodology text to enrich retrieval scoring.
Returns: The unique ID assigned to the new example.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"description": "<description>",
"image_path": "<image_path>",
"caption": "<caption>",
"image_type": "<image_type>"
},
"name": "add_example"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | Yes | ||
| image_path | Yes | ||
| image_type | Yes | ||
| description | Yes | ||
| source_context | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |