OpenAPI Spec issue - Custom Tool
Hello, I am not able to add Custom Tool via OpenAPI spec, even if you try the default ones you have
23 Replies
Checking right away.
like-goldOP•5mo ago
Sure thanks @Soham
@Soham any update?
rival-black•5mo ago
hey @deepanshu_11 - we figured the issue (small infra issue) and resolved it. Please give it a try again and let me know!
like-goldOP•5mo ago
Sure lemme try, also it seems the example of spec and integration is not correct, integration.yaml is related to notion and openapi.yaml is related to pet store
@Karthikeya can you share an example I can quickly try
rival-black•5mo ago
sure, let me send an example yaml and spec file here.
I am assuming you're referring to the example: https://docs.composio.dev/introduction/foundations/components/integrations/custom-integration
but I don't see the notion related example here though. can you share the link you're referring to?
Composio Docs
🔧 Custom Tools Using OpenAPI Spec - Composio
Composio enables your agents to connect with Various Tools and work with them
rival-black•5mo ago
Sharing the Posthog's integrations.yaml and the OpenAPI spec file.
like-goldOP•5mo ago
Thanks, yeah i was talking about sample.yaml provided in Custom Tools page
For eg: contains this link https://github.com/ComposioHQ/sample-openapi-spec-for-download/blob/master/notion_sample.yaml
and
https://github.com/OAI/OpenAPI-Specification/blob/main/examples/v3.0/petstore.yaml
So notion and petstore
GitHub
sample-openapi-spec-for-download/notion_sample.yaml at master · Com...
Contribute to ComposioHQ/sample-openapi-spec-for-download development by creating an account on GitHub.
GitHub
OpenAPI-Specification/examples/v3.0/petstore.yaml at main · OAI/Ope...
The OpenAPI Specification Repository. Contribute to OAI/OpenAPI-Specification development by creating an account on GitHub.
like-goldOP•5mo ago
Also @Karthikeya its taking a lot of time to add custom tool
rival-black•5mo ago
as you can see - there are two files in the repo that you can use to generate the tool.
notion-openapi.yaml
is the OpenAPI Spec file and notion_sample.yaml
is the integrations.yaml file - might be little confusing due to the file names - will update them.
it usually takes longer (based on the number of the API Endpoints that an app supports). Give it sometime or if it still didn't work, let me know.
like-goldOP•5mo ago
@Karthikeya with the files in this repo also https://github.com/ComposioHQ/sample-openapi-spec-for-download/blob/master/notion_sample.yaml
still getting error
Error: invalid syntax (<unknown>, line 3)
GitHub
sample-openapi-spec-for-download/notion_sample.yaml at master · Com...
Contribute to ComposioHQ/sample-openapi-spec-for-download development by creating an account on GitHub.

rival-black•5mo ago
Looking into this.
like-goldOP•5mo ago
sure
Got any update for me @Karthikeya
rival-black•5mo ago
sorry we found an issue and pushing fix for this - i will ping you as soon as changes are live.
correct-apricot•5mo ago
posting to follow - was dealing with this yesterday - was convinced my spec was invalid
like-goldOP•5mo ago
@Karthikeya any updates on this?
rival-black•5mo ago
hey - we are still working on this. also, can you share your Job ID ?
like-goldOP•5mo ago
where can I get it from?
rival-black•5mo ago

like-goldOP•5mo ago
okay sure
@Karthikeya here are the job id
a40c6dbf-810f-4f95-b64b-2e7cc404fb59
b29f29c9-295f-4374-ad1a-59c50d567ed0
cbede44e-8e33-4135-aa1c-034817b4770e
CC: @Soham can we look into this urgently, been a blocker
rival-black•5mo ago
hey thanks for the sharing job id - will get back on this.
really sorry for the delay - one of the team members who oversees this is on a leave, hence there's been a little delay on this.
like-goldOP•5mo ago
Any updates @Karthikeya ?
rival-black•5mo ago
hey @deepanshu_11 - i couldn't verify the Job IDs that you shared. however, the tool generation via openapi spec is now fixed. please give it a try and LMK.
try it here: https://app.composio.dev/custom_tools
like-goldOP•5mo ago
sure will try this