https://linen.dev logo
k
The supportsAllDrives parameter was not set to true, missing to use tools and it's a composio issue not my issue.
c
Hi Kyle, Could you provide some context regarding the Issue you are facing?
k
Google Drive is throwing errors about reading their drive, and none of the tools work.
It's a issue on your side as it's whenever a tool tries to get run from google drive?
@udaysidagana any update on this?
@User any update on this?
tagged the wrong one ig
c
Could you share your Connected Account Id along with the logIds of the Tool calls?
k
wym? is that needed to solve this? have you never had this error for a tool?
c
It is working fine on our end, it seems like there could be an Issue with your connected account. Could you please share the relative information?
k
sure 1s
also is there a reason why Composio can't grab my recent docs? ex. when I ask
What is my most recent document in docs?
it only grabs 1
auth config is:
ac_3q-cdg3wqpQr
account id ca_fq05GP72Sznt
c
I can see the prompt is "What is my most recent document in docs?" the agent will use the relevant Tool to fetch the file, and you've specified singular Document to be fetched hence it fetched 1 file. Also, you've mentioned that the Tools don't work, Could you share the errors or LogIds of the failed tool calls?
k
2s
but it grabbed the wrong recent one tho
I clearly had a earlier doc in my history but it did not grab the correct one
it seems fixed weirdly enough now, but how can I modify tool data and what gets responded with?
isi t possible to easily modify what a tool will end up returning to the AI?
c
Yes, you can use modifiers to adjust or modify the payload form Tool call to be passed to the Agent. Here are the Docs:
k
Copy code
{
  "spreadsheet_id": "1G7sRLGITU4ga2D2F8qaksoAYyXriRJeuXpOaNj75zjs"
}
{
  "data": {},
  "error": "Spreadsheet not found (404). Verify the spreadsheet ID: 1G7sRLGITU4ga2D2F8qaksoAYyXriRJeuXpOaNj75zjs. The api response is: {
  "error": {
    "code": 404,
    "message": "Requested entity was not found.",
    "status": "NOT_FOUND"
  }
}
",
  "successful": false,
  "logId": "log_vproOQ95GAbK"
}
It previously retrieved the list of recent files for google drive and then this failed.
I'm not sure where and how this error would occur?
c
Could you share the LogIds of the successful and failed Tool calls for the same Spreadsheet Id?
k
they all have failed with similar things?
Copy code
{
  "spreadsheet_id": "1AKt3O-mmlOS27u2Z2M72y6Vatb4USFDSeG6vPEt0o7M"
}
{
  "data": {},
  "error": "Spreadsheet not found (404). Verify the spreadsheet ID: 1AKt3O-mmlOS27u2Z2M72y6Vatb4USFDSeG6vPEt0o7M. The api response is: {
  "error": {
    "code": 404,
    "message": "Requested entity was not found.",
    "status": "NOT_FOUND"
  }
}
",
  "successful": false,
  "logId": "log_6GElV-TO_oSL"
}
i'm not even sure what this tool would do for google drive when it's a google sheet thing I would expect to run
off topic to this, is there a reason why you guys limit tools to 128? or at least limit the initial query maybe?
I wasn't sure if it was a context issue or a LLM limitation
c
It looks like the Tool call was made to Google Docs instead of Google Drive. Could you recheck your errors and let me know. Also, please refer to Google Api documentation regarding the scopes used in Auth Config, it should give you context regarding the requested permissions.
k
the tool was a google drive tool tho
that's not a google doc one
c
The Agent might be having an Issue with choosing the right Toolkit and respective Tool. You can check the logs from [Dashboard](https://platform.composio.dev) > Logs and share the screenshot of the log? Here’s a sample attachment for your reference: https://cdn.discordapp.com/attachments/1403238898292752415/1403782523820970155/Screenshot_2025-08-09_at_22.16.31.png?ex=6898cdda&is=68977c5a&hm=6aabec29aa91f0e145f0cc776bd4756b0167126ae6406b8809af22f145ed6a5e&
c
Thanks for sharing the logId, checking this.
Looking at your error, seems like you've included all the Drives(Shared Drives too) by setting the
includeItemsFromAllDrives
to
true
but didn’t set
supportsAllDrives: true
, which is required when items from all Drives are being accessed. Could you try disabling the
includeItemsFromAllDrives
or setting
supportsAllDrives
to true and lmk if it works for you?
k
I never changed anything?
this is the default tool... when I grab from them the typescript sdk
where would I even do this? as there's no docs about it
what about what is returned?
c
Yes, these are the params/arguments which can be passed during Tool call. You can refer to this [Documentation](https://docs.composio.dev/toolkits/introduction) to understand the arguments which can be passed for each Tool. For this specific Tool you can refer this: Alternatively, you can get the Tool schema using [SDK](https://docs.composio.dev/sdk-reference/type-script/models/tools#param-1) or [API endpoints](https://docs.composio.dev/api-reference/tools/get-tools-by-tool-slug). Let me know if you need help with anything.