Responses
Synomy will return a meta-plan, a non-binding planning spec. Each step corresponds to one tool use.
intents: One or multiple intents for the tool/step that were extracted from the received query.confidence: Platt-scaled confidence, which your agent can use to reason.alternative_tools: Ambiguous steps may offer tool alternatives.suggested_lookups: Other indexed tools your agent may consider when the tool request doesn’t map to a tool that supplies a required ID.intents_we_could_not_match_to_a_tool: Intents that couldn’t be mapped to a tool.ask_the_user_for: Required inputs an intent appears to reference ambiguously (e.g. “it” or “this issue”).
Response format: JSON
{ "query_id": "018f3a2b-7c41-7e91-b0d2-9a6f4c1e8b37", "steps": [ { "step": 1, "intents": ["set the status of the roadmap page to Done"], "tool": "update_page", "confidence": 0.94 }, { "step": 2, "intents": ["post the roadmap page to the general channel"], "tool": "post_message", "confidence": 0.89 }, { "step": 3, "intents": ["comment on this issue that the roadmap page is done"], "tool": "create_comment", "confidence": 0.91, "ask_the_user_for": ["issue_id"] } ], "intents_we_could_not_match_to_a_tool": [ "email the team a summary" ]}{ "query_id": "018f3a2b-7c41-7e91-b0d2-9a6f4c1e8b37", "steps": [ { "step": 1, "intents": ["set the status of the roadmap page to Done"], "tool": "update_page", "confidence": 0.94, "alternative_tools": [ {"tool": "create_page", "confidence": 0.44} ], "inputs": [ {"name": "page_id"} ], "suggested_lookups": [ {"tool": "search_notion", "supplies": ["page_id"]} ], "outputs": ["url"] }, { "step": 2, "intents": ["post the roadmap page to the general channel"], "tool": "post_message", "confidence": 0.89, "inputs": [ {"name": "channel"}, {"name": "text", "from_step": 1} ], "outputs": ["ts", "channel"] }, { "step": 3, "intents": ["comment on this issue that the roadmap page is done"], "tool": "create_comment", "confidence": 0.91, "ask_the_user_for": ["issue_id"], "inputs": [ {"name": "issue_id"}, {"name": "body"} ], "outputs": ["id"] } ], "intents_we_could_not_match_to_a_tool": [ "email the team a summary" ]}{ "query_id": "018f3a2b-7c41-7e91-b0d2-9a6f4c1e8b37", "steps": [ { "step": 1, "intents": ["set the status of the roadmap page to Done"], "tool": "update_page", "confidence": 0.94, "alternative_tools": [ {"tool": "create_page", "confidence": 0.44} ], "inputs": [ {"name": "page_id", "type": "string", "required": true}, {"name": "properties", "type": "object", "required": false} ], "suggested_lookups": [ {"tool": "search_notion", "supplies": ["page_id"]} ], "outputs": [ {"name": "id", "type": "string"}, {"name": "url", "type": "string", "for_steps": [2]} ] }, { "step": 2, "intents": ["post the roadmap page to the general channel"], "tool": "post_message", "confidence": 0.89, "inputs": [ {"name": "channel", "type": "string", "required": true}, { "name": "text", "type": "string", "required": true, "from_step": 1, "from_field": "url" } ], "outputs": [ {"name": "ts", "type": "string"}, {"name": "channel", "type": "string"} ] }, { "step": 3, "intents": ["comment on this issue that the roadmap page is done"], "tool": "create_comment", "confidence": 0.91, "ask_the_user_for": ["issue_id"], "inputs": [ {"name": "issue_id", "type": "string", "required": true}, {"name": "body", "type": "string", "required": true} ], "outputs": [ {"name": "id", "type": "string"}, {"name": "url", "type": "string"} ] } ], "intents_we_could_not_match_to_a_tool": [ "email the team a summary" ]}Response format: text
---{"query_id": "018f3a2b-7c41-7e91-b0d2-9a6f4c1e8b37"}---Step 1Intent: set the status of the roadmap page to DoneTool: update_page (confidence 0.94)
Step 2Intent: post the roadmap page to the general channelTool: post_message (confidence 0.89)
Step 3Intent: comment on this issue that the roadmap page is doneTool: create_comment (confidence 0.91)Ask the user for: issue_id (the request refers to something it never names)
Intents we could not match to a tool: - email the team a summary---{"query_id": "018f3a2b-7c41-7e91-b0d2-9a6f4c1e8b37"}---Step 1Intent: set the status of the roadmap page to DoneTool: update_page (confidence 0.94)Alternative tool: create_page (confidence 0.44)Input: page_idSuggested lookup for page_id: search_notionOutput: url
Step 2Intent: post the roadmap page to the general channelTool: post_message (confidence 0.89)Input: channel, text (from Step 1)Output: ts, channel
Step 3Intent: comment on this issue that the roadmap page is doneTool: create_comment (confidence 0.91)Ask the user for: issue_id (the request refers to something it never names)Input: issue_id, bodyOutput: id
Intents we could not match to a tool: - email the team a summary---{"query_id": "018f3a2b-7c41-7e91-b0d2-9a6f4c1e8b37"}---Step 1Intent: set the status of the roadmap page to DoneTool: update_page (confidence 0.94)Alternative tool: create_page (confidence 0.44)Input Parameters: - page_id: string (required) - properties: object (optional)Suggested lookup for page_id: search_notionOutput Parameters: - id: string - url: string - for Step 2
Step 2Intent: post the roadmap page to the general channelTool: post_message (confidence 0.89)Input Parameters: - channel: string (required) - text: string (required) - from Step 1 output (url)Output Parameters: - ts: string - channel: string
Step 3Intent: comment on this issue that the roadmap page is doneTool: create_comment (confidence 0.91)Ask the user for: issue_id (the request refers to something it never names)Input Parameters: - issue_id: string (required) - body: string (required)Output Parameters: - id: string - url: string
Intents we could not match to a tool: - email the team a summary