> ## Documentation Index
> Fetch the complete documentation index at: https://phaseo.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# State और approval

> मानवीय निर्णय लेने और ऐप-प्रबंधित state से जारी रखने के लिए PHP एजेंट रोकें।

सामान्य checkpoint के लिए `AgentDefinition::$humanReview` उपयोग करें। approval-gated और manual tools सटीक call IDs को `$result->run->pause->pendingToolCalls` में रखते हैं।

`Agent::continueRun(...)` से जारी रखें और यह दें:

* approval या rejection के लिए `ToolDecision` वैल्यू
* मैन्युअल काम के लिए `ToolOutput` वैल्यू
* सामान्य समीक्षा विराम के लिए मानवीय input

जब ऐप को storage से रन दोबारा लोड करना हो, तब `StateAccessor` के साथ `continueRunById(...)` उपयोग करें। निर्णय tool name के बजाय call ID से मिलाए जाते हैं।

## संबंधित विषय

* [टूल](./agent-sdk-tools.mdx)
* [रन कंट्रोल](./agent-sdk-run-controls.mdx)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.