prompts_get_current
Retrieve the current system prompt for a specific agent using a local cache. Optionally force a refresh to get the latest version from the hub.
Instructions
Get the current system prompt content for an agent (cached locally by strands-hub).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>"
},
"name": "prompts_get_current"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| force_refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |