auth_recommend
Discover which stored credential fits a task via AI, using names and descriptions only to keep secrets hidden. Returns the best match and reasoning.
Instructions
Ask goose's AI to pick the best stored credential for a task.
This tool uses MCP sampling: it sends the task plus the list of
available credentials (names + descriptions only — values never leave
the vault) back to goose's LLM, which returns the single best match
and the reasoning. Retrieve the value afterwards with
auth_get(name, mask=False).
If the client does not support sampling, the tool degrades gracefully and returns the full list so the caller can choose manually.
Args: task: What the credential will be used for, e.g. "call OpenAI to summarize this email thread".
Returns:
recommendation (credential name or None), reasoning, and
available (all credential names).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||