apa7_insert_blocks
Insert structured APA 7 content blocks—headings, tables, figures, references, and TOC—into an existing .docx at a chosen position, with automatic table and figure numbering.
Instructions
Inserta contenido en un .docx existente. where: end|start|before_references|after_paragraph (paragraph_index de apa7_read)|after_text (text). Numera Tabla/Figura a continuación. Bloques (type): title{text}; title_page{title,authors(texto|lista),affiliation,course,instructor,due_date,author_note(texto|lista; trabajo profesional)}; heading{level 1-5,text}; paragraph{text,indent?}; block_quote{text}; list{style:bullet|numbered,items[]}; table{title,header[],rows[][],note?}; figure{title,image_path|chart{type:bar|line|pie|scatter|hist,labels[],series[{name,values[]}],x_label?,y_label?},width_cm?,alt?,note?}; toc{levels?,title?}; list_of_tables; list_of_figures; references{entries[]}; page_break. En text: negrita, cursiva.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>",
"blocks": "<blocks>"
},
"name": "apa7_insert_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| where | No | end | |
| blocks | Yes | ||
| profile | No | ||
| language | No | ||
| file_path | Yes | ||
| overwrite | No | ||
| output_path | No | ||
| paragraph_index | No | ||
| accept_tracked_changes | No |