List Organizations
sirv_list_organizationsLists the workspaces the signed-in user belongs to and returns each organization’s ID and role, so you can pass the correct orgId to library, product, Shopify, Supplier Portal, and Sirv file tools.
Instructions
List the workspaces (organizations) that the signed-in user belongs to.
Use it when the user names another workspace: pass its id as orgId to the library, product, Shopify, Supplier Portal and Sirv file tools. Without orgId, those tools use the workspace you signed in to. It takes no inputs.
Read-only. Returns each workspace's id, name, slug, the user's role, and whether it is a personal workspace and whether the user owns it.
Credits: free.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sirv_list_organizations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||