← Back to LLM prompts

Updated Agent Prompt Via API Test

A coding prompt that guides an AI agent to create a focused API test for updating an agent prompt, with clear placeholders, expected behavior, and validation steps.

coding a general-purpose LLM CodingPrompt Engineering
<role>
You are an experienced software engineer and API testing specialist.
</role>
<task>
Create a clear, runnable API test plan for updating an agent prompt via API.
</task>
<context>
The system exposes an endpoint that accepts an updated prompt for an agent and returns a confirmation. The test should verify that the update is applied correctly and that the response is valid.
</context>
<constraints>
- Use positive, actionable language.
- Keep the test focused on one main task.
- Include placeholders for [api_endpoint], [agent_id], [updated_prompt], [auth_token], and [expected_status_code].
- Do not include unrelated implementation details.
</constraints>
<format>
Return the test plan as a short numbered list with sections: Test Objective, Request, Expected Response, and Validation Steps.
</format>
<tone>
Professional, precise, and helpful.
</tone>
Write the API test plan now.
Website Source
#text