# notecard_edit

Edits a notecard in the bot's inventory.

```csharp
// See "LSL Helper Functions" page for this function
smartbotsAPI("notecard_edit", [
  "uuid", "b572d860-c5cf-e023-a6b2-408f30266acc",
  "text", "This is the new text to replace the contents of my notecard."
]);
```

```snippet http-api-variables-OmJyUigTgO
```

```snippet http-api-input-basic-parameters-5FcVlaJbq0 action="notecard_edit"
```

```snippet http-api-input-q5yvAagqsZ
uuid | yes | UUID of a notecard to be edited
text | yes | The contents of the notecard
```

```snippet http-api-output-JAwUcmg7i7
```

# Example

Edit the contents of a notecard for the given UUID.

(The example uses the `smartbotsAPI()` helper function. Set your `apikey`, `botname`, and `secret` in that function.)

```csharp
// See "LSL Helper Functions" page for this function
smartbotsAPI("notecard_edit", [
  "uuid", "b572d860-c5cf-e023-a6b2-408f30266acc",
  "text", "This is the new text to replace the contents of my notecard."
]);
```