-
Notifications
You must be signed in to change notification settings - Fork 54
Description
When calling the create_doc tool, the document is actually created successfully in Monday. However, the tool response still returns an error message due to an invalid mutation being called afterward (add_content_to_doc_from_markdown).
Tool Response:
toolName:create_doc: { "content": [ { "type": "text", "text": "Error creating document: Cannot query field \"add_content_to_doc_from_markdown\" on type \"Mutation\".: { \"response\": { \"errors\": [ { \"message\": \"Cannot query field \\\"add_content_to_doc_from_markdown\\\" on type \\\"Mutation\\\".\", \"locations\": [{\"line\":3,\"column\":5}] } ], \"extensions\":{\"request_id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxx\"}, \"status\":200, \"headers\":{} }, \"request\": { \"query\":\"mutation addContentToDocFromMarkdown($docId: ID!, $markdown: String!, $afterBlockId: String) { add_content_to_doc_from_markdown(docId: $docId, markdown: $markdown, afterBlockId: $afterBlockId) { success block_ids error } }\" , \"variables\": { \"docId\":\"xxxxxxxxxx\", \"markdown\":\"my man is doing good\" } } }" } ] }