To create a vCon, call the `create_vcon` tool with a parties array:
```typescript
const vcon = {
vcon: '0.3.0',
parties: [{ name: 'Alice' }]
};
❌ **Bad:**
```markdown
A vCon can be created by the user by calling the create_vcon tool.
One should ensure that the vCon has parties otherwise it might fail.
# Main Title (H1 - One per page)
## Major Section (H2)
### Subsection (H3)
#### Detail (H4)
##### Note (H5 - Rarely used)
- First item
- Second item
- Nested item
- Another nested item
- Third item
1. First step
2. Second step
1. Sub-step
2. Another sub-step
3. Third step
- [ ] Todo item
- [x] Completed item
- [ ] Another todo
See [Architecture](./architecture.md) for details.
Jump to [Creating a Tool](#creating-a-tool) section.
Read the [IETF vCon Spec](https://datatracker.ietf.org/doc/html/draft-ietf-vcon-vcon-core-00).
*Italic* or _italic_
**Bold** or __bold__
***Bold and italic***
`inline code`
| Column 1 | Column 2 | Column 3 |
|----------|----------|----------|
| Value 1 | Value 2 | Value 3 |
| Value A | Value B | Value C |
| Left | Center | Right |
|:-----|:------:|------:|
| L1 | C1 | R1 |
| L2 | C2 | R2 |
> 📝 **Note:** Additional information that's helpful to know.
> ⚠️ **Warning:** Important information that requires attention.
> 🚨 **Critical:** Essential information that could cause problems if ignored.
> 💡 **Tip:** Helpful suggestion or best practice.
> ✅ **Success:** Confirmation or positive outcome.
### TypeName
Description of the type and its purpose.
```typescript
interface TypeName {
field1: string; // Description
field2?: number; // Description (optional)
field3: OtherType; // Description
}
```
**Required Fields:**
- `field1` - Description and requirements
- `field3` - Description and requirements
**Optional Fields:**
- `field2` - Description and default value
**Examples:**
```typescript
// Minimal example
const minimal: TypeName = {
field1: "value",
field3: { /* ... */ }
};
// Complete example
const complete: TypeName = {
field1: "value",
field2: 42,
field3: { /* ... */ }
};
```
**Validation:**
- `field1` must be non-empty
- `field2` must be positive if provided
- `field3` must be valid OtherType
**See Also:**
- [Related Type](./path.md#related-type)
- [Usage Example](../examples/example.md)
# How to [Do Something]
Learn how to [accomplish goal] using [tool/feature].
## What You'll Learn
- How to [specific task 1]
- How to [specific task 2]
- Best practices for [topic]
## Prerequisites
Before starting, ensure you have:
- [ ] Item 1
- [ ] Item 2
- [ ] Item 3
## Steps
### Step 1: [First Action]
Description of what this step accomplishes.
```bash
# Commands to run
command --option value
```
**Expected output:**
```
Output that indicates success
```
### Step 2: [Second Action]
Continue with clear instructions...
## Verification
Verify your setup:
```bash
# Check command
npm test
```
You should see:
- ✅ All tests passing
- ✅ No errors in output
## Troubleshooting
### Issue: [Common Problem]
**Symptom:** Description of the problem
**Solution:**
1. Check X
2. Verify Y
3. Try Z
### Issue: [Another Problem]
**Symptom:** Description
**Solution:** Steps to fix
## Next Steps
Now that you've completed this guide:
- [Next Guide](./next-guide.md)
- [Related Topic](./related.md)
- [Advanced Usage](./advanced.md)
# Install dependencies
npm install
# Start dev server
npm run docs:dev
# Build for production
npm run docs:build
# Preview production build
npm run docs:preview