Skip to main content
mcp_use home page
Python SDK
Docs
API Reference
Changelog
Community
Blog
Examples
Discord
mcp-use/mcp-use
mcp-use/mcp-use
Search...
Navigation
Client
Prompts
Search...
⌘K
Agents
Adapters
Base
Display
Managers
Mcpagent
Observability
Prompts
Remote
Client
Auth
Client
Code Executor
Config
Connectors
Exceptions
Middleware
Prompts
Session
Task Managers
Core
Client
Logging
Utils
Errors
Error Formatting
Client
Prompts
Copy page
Prompt templates for MCP code execution mode API Documentation
Copy page
View the source code for this module on GitHub:
https://github.com/mcp-use/mcp-use/blob/main/libraries/python/mcp_use/client/prompts.py
Prompt templates for MCP code execution mode.
This module provides prompt templates to guide agents on how to use MCP tools via code execution.
Was this page helpful?
Yes
No
Middleware
Previous
Session
Next
⌘I