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

# Update Plan Step Status • AI Agent SDK

> update_plan_step_status: Update the status of a plan step.

# update\_plan\_step\_status

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**AgentTeam**](../classes/AgentTeam) class in the [**agents**](../modules/agents) module.

Update the status of a plan step.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def update_plan_step_status(step_id: str, status: str) -> bool
```

## Parameters

<ParamField query="step_id" type="str" required={true}>
  ID of the step to update
</ParamField>

<ParamField query="status" type="str" required={true}>
  New status
</ParamField>

### Returns

<ResponseField name="Returns" type="bool">
  True if updated, False if not found
</ResponseField>

## Uses

* `update_step_status`
* `sync_with_plan`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agents/agents.py#L2209">
  `praisonaiagents/agents/agents.py` at line 2209
</Card>
