> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.credal.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.credal.com/_mcp/server.

# SetAgentModelRequest

GraphQL input

Reference: https://docs.credal.com/api-reference/types/inputs/set-agent-model-request

## Fields

- `agentId`
- `agentModelId` — Credal's ID for the model to run the agent on.

## Definition

```graphql
input SetAgentModelRequest {
  agentId: String!
  agentModelId: String!
}
```