(context: McpAuthContext)
| 28 | * - Read clients have it fixed in context — it's not included in the schema. |
| 29 | */ |
| 30 | export function projectIdSchema(context: McpAuthContext) { |
| 31 | return context.projectId === null |
| 32 | ? z |
| 33 | .string() |
| 34 | .describe( |
| 35 | 'Project ID to query (required for organization-level access)' |
| 36 | ) |
| 37 | : z.string().optional(); |
| 38 | } |
| 39 | |
| 40 | |
| 41 | /** |
no outgoing calls
no test coverage detected